diff --git a/tests/conftest.py b/tests/conftest.py
index c6ceb9bcdd0ef3cce609a84bdc62a01f9f73af1f..f00ae5e75571a79b20588939cedd1415c407bb25 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -26,7 +26,7 @@ from arkindex_worker.worker import BaseWorker, ElementsWorker
 from arkindex_worker.worker.transcription import TextOrientation
 
 FIXTURES_DIR = Path(__file__).resolve().parent / "data"
-SAMPLES_DIR = Path("tests/samples")
+SAMPLES_DIR = Path(__file__).resolve().parent / "samples"
 
 __yaml_cache = {}