-@pytest.fixture
-def tokenizer_import(monkeypatch):
- monkeypatch.setenv('NOMINATIM_TOKENIZER', 'dummy')
-
- def _import_dummy(module, *args, **kwargs):
- return dummy_tokenizer
-
- monkeypatch.setattr(importlib, "import_module", _import_dummy)
-
-
-def test_setup_dummy_tokenizer(temp_db_conn, test_config,
- tokenizer_import, property_table):