mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
adapt tests to new country token format
This commit is contained in:
@@ -21,6 +21,9 @@ class MyToken(Token):
|
||||
def get_category(self):
|
||||
return 'this', 'that'
|
||||
|
||||
def get_country(self):
|
||||
return self.lookup_word
|
||||
|
||||
|
||||
def make_query(*args):
|
||||
q = QueryStruct([Phrase(qmod.PHRASE_ANY, '')])
|
||||
|
||||
Reference in New Issue
Block a user