adapt tests to new country token format

This commit is contained in:
Sarah Hoffmann
2025-11-27 16:05:49 +01:00
parent 81c6cb72e6
commit 9447c90b09
5 changed files with 11 additions and 2 deletions

View File

@@ -17,6 +17,9 @@ class MyToken(query.Token):
def get_category(self):
return 'this', 'that'
def get_country(self):
return 'cc'
def mktoken(tid: int):
return MyToken(penalty=3.0, token=tid, count=1, addr_count=1,