mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +00:00
the category parameter in search should result in a qualifier
This commit is contained in:
@@ -309,8 +309,8 @@ def test_name_only_search_with_category():
|
||||
assert len(searches) == 1
|
||||
search = searches[0]
|
||||
|
||||
assert isinstance(search, dbs.NearSearch)
|
||||
assert isinstance(search.search, dbs.PlaceSearch)
|
||||
assert isinstance(search, dbs.PlaceSearch)
|
||||
assert search.qualifiers.values == [('foo', 'bar')]
|
||||
|
||||
|
||||
def test_name_only_search_with_countries():
|
||||
|
||||
Reference in New Issue
Block a user