diff --git a/tests/agora/conftest.py b/tests/agora/conftest.py
index 7125dc5e190bc5a7f528b36c09865a631eed0780..17d2d40278f1a0f9d261c4767e00c4c13c08d022 100644
--- a/tests/agora/conftest.py
+++ b/tests/agora/conftest.py
@@ -15,7 +15,10 @@ def data_dir():
 
 @pytest.fixture(scope="module")
 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)