]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/conftest.py
port database setup function to python
[nominatim.git] / test / python / conftest.py
index 0e0e808cb51f953e871e199b83e7732fb1caba92..6d4d3ac9980ed5a4028247b93f2181ab93db7c7a 100644 (file)
@@ -105,6 +105,9 @@ def temp_db_cursor(temp_db):
 def def_config():
     return Configuration(None, SRC_DIR.resolve() / 'settings')
 
+@pytest.fixture
+def src_dir():
+    return SRC_DIR.resolve()
 
 @pytest.fixture
 def status_table(temp_db_conn):