Skip to content
Snippets Groups Projects
Commit 833636d7 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

tests(agora): check dummy yaml exists

parent 209ad434
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,10 @@ def data_dir(): ...@@ -15,7 +15,10 @@ def data_dir():
@pytest.fixture(scope="module") @pytest.fixture(scope="module")
def yaml_file(data_dir: PosixPath): def yaml_file(data_dir: PosixPath):
return data_dir / "parameters.yaml" data = data_dir / "parameters.yaml"
if not data.exists():
pytest.fail(f"There is no file at {str( data_dir )}.")
return data
@pytest.fixture(scope="module", autouse=True) @pytest.fixture(scope="module", autouse=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment