mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
cfg: For develop mode, overlay on top of regular configuration
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
2a38e60d1c
commit
8d2c33bf71
4 files changed
+23
-21
No files matched your search
+2
-2
@@ -53,9 +53,9 @@ def fixture_load_cfg():
|
||||
root_dir = pathlib.Path(__file__).resolve().parent
|
||||
test_data_dir = root_dir / 'plinth' / 'tests' / 'data'
|
||||
cfg_file = test_data_dir / 'etc' / 'plinth' / 'plinth.config'
|
||||
cfg.read(str(cfg_file), str(root_dir))
|
||||
cfg.read_file(str(cfg_file), str(root_dir))
|
||||
yield cfg
|
||||
cfg.read(str(cfg_file), str(root_dir))
|
||||
cfg.read_file(str(cfg_file), str(root_dir))
|
||||
|
||||
|
||||
@pytest.fixture(name='develop_mode')
|
||||
|
||||
Reference in new issue
Block a user