X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9025b0ec78bd770e74a1bed85c8d2e43ce5f571a..02d357d29e40a8dfe5bc8eb4eac35c3ad3cc0958:/test/python/conftest.py diff --git a/test/python/conftest.py b/test/python/conftest.py index 1fca4b62..2fc97726 100644 --- a/test/python/conftest.py +++ b/test/python/conftest.py @@ -5,7 +5,7 @@ from pathlib import Path import psycopg2 import pytest -SRC_DIR = Path(__file__) / '..' / '..' / '..' +SRC_DIR = (Path(__file__) / '..' / '..' / '..').resolve() # always test against the source sys.path.insert(0, str(SRC_DIR.resolve()))