custom comparison for SpecialPhrase

Duplicate elemination only works when a custom hash/equal function
is implemented that is based on the members.
This commit is contained in:
Sarah Hoffmann
2022-05-30 16:30:41 +02:00
parent e828d0d3f7
commit 46689df668
4 changed files with 18 additions and 15 deletions

View File

@@ -17,11 +17,6 @@ from nominatim.errors import UsageError
from cursor import CursorForTesting
@pytest.fixture
def testfile_dir(src_dir):
return src_dir / 'test' / 'testfiles'
@pytest.fixture
def sp_importer(temp_db_conn, def_config, monkeypatch):
"""