X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9ff4f66f5555cc812c0e8f10ef007cdeae3b9836..834ae0a93f2f25b3231f4c47612ac1d2c170738a:/test/python/conftest.py?ds=sidebyside 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()))