Change config to Python

- Change Configuration format to be python-based.
- move config logic to frappy/config.py
- Add first py-config: cryo_cfg.py
- Adapt test to new expected config format

Change-Id: Iaec484e0e1e21ebbb1e5c74b53be6231329ddf71
This commit is contained in:
Alexander Zaft
2022-12-12 13:58:54 +01:00
committed by Bjoern Pedersen
parent db3b190c26
commit 52b77ba9e6
9 changed files with 298 additions and 128 deletions

View File

@@ -62,6 +62,7 @@ class ServerStub:
class ModuleTest(Module):
def __init__(self, updates=None, **opts):
opts['description'] = ''
opts = {p: {'default': val} for p, val in opts.items()}
super().__init__('mod', logger, opts, ServerStub(updates or {}))