Decoupled config tests

This commit is contained in:
Veronica K. B. Olsen
2020-08-28 12:56:03 +02:00
parent 8340c0665d
commit b065e4d52b
2 changed files with 94 additions and 89 deletions
+7
View File
@@ -35,6 +35,13 @@ def nwConf(nwRef, nwTemp):
theConf.initConfig(nwRef, nwTemp)
return theConf
@pytest.fixture(scope="session")
def tmpConf(nwRef, nwTemp):
theConf = Config()
theConf.initConfig(nwTemp, nwTemp)
theConf.setLastPath("")
return theConf
@pytest.fixture(scope="session")
def nwDummy(nwRef, nwTemp, nwConf):
theDummy = DummyMain()