new test framework #1

Merged
dan merged 47 commits from wip-new-framework into dev 2023-11-22 21:40:14 +01:00
Showing only changes of commit 493b44fe0f - Show all commits

View file

@ -39,14 +39,14 @@ def dotenv_config(request) -> dict[str, str]:
@pytest.fixture(scope="session", autouse=True)
def RECORDS(dirmanager) -> Path:
assert isinstance(dirmanager, DirManager)
return dirmanager.get_all_dirs()["records"]
return dirmanager.dirs["records"]
@pytest.fixture(scope="session", autouse=True)
def STATES(dirmanager) -> Path:
return dirmanager.get_all_dirs()["states"]
return dirmanager.dirs["states"]
@pytest.fixture(scope="session", autouse=True)
def RESULTS(dirmanager) -> Path:
return dirmanager.get_all_dirs()["results"]
return dirmanager.dirs["results"]