forked from hans/Nominatim
add tests for cleaning housenumbers
This commit is contained in:
@@ -30,6 +30,7 @@ class DummyTokenizer:
|
||||
self.update_sql_functions_called = False
|
||||
self.finalize_import_called = False
|
||||
self.update_statistics_called = False
|
||||
self.update_word_tokens_called = False
|
||||
|
||||
def update_sql_functions(self, *args):
|
||||
self.update_sql_functions_called = True
|
||||
@@ -40,6 +41,9 @@ class DummyTokenizer:
|
||||
def update_statistics(self):
|
||||
self.update_statistics_called = True
|
||||
|
||||
def update_word_tokens(self):
|
||||
self.update_word_tokens_called = True
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def cli_call(src_dir):
|
||||
|
||||
Reference in New Issue
Block a user