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:
Sunil Mohan Adapa authored and James Valleroy committed 2020-06-28 21:01:25 -04:00
1 parent 2a38e60d1c
commit 8d2c33bf71
4 files changed
+23 -21

No files matched your search

+2 -2
View File
@@ -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')