"""
Tests for query analyzer for ICU tokenizer.
"""
-from pathlib import Path
-
import pytest
import pytest_asyncio
table_factory('word',
definition='word_id INT, word_token TEXT, type TEXT, word TEXT, info JSONB')
- async with NominatimAPIAsync(Path('/invalid'), {}) as api:
+ async with NominatimAPIAsync() as api:
async with api.begin() as conn:
yield conn