X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5a245e33e08d3b0b825cb8f9b47214e1b221118e..4cc788f69e1191d2dd985aeac143597566529f24:/test/python/indexer/test_indexing.py diff --git a/test/python/indexer/test_indexing.py b/test/python/indexer/test_indexing.py index fe65b69c..79b76c60 100644 --- a/test/python/indexer/test_indexing.py +++ b/test/python/indexer/test_indexing.py @@ -2,18 +2,19 @@ # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2024 by the Nominatim developer community. +# Copyright (C) 2025 by the Nominatim developer community. # For a full list of authors see the git log. """ Tests for running the indexing. """ import itertools import pytest -import pytest_asyncio +import pytest_asyncio # noqa from nominatim_db.indexer import indexer from nominatim_db.tokenizer import factory + class IndexerTestDB: def __init__(self, conn): @@ -232,6 +233,7 @@ async def test_index_partial_with_30(test_db, threads, test_tokenizer): SELECT count(*) FROM placex WHERE indexed_status = 0 AND rank_address between 1 and 27""") == 0 + @pytest.mark.parametrize("threads", [1, 15]) @pytest.mark.asyncio async def test_index_boundaries(test_db, threads, test_tokenizer):