fix up BDD tests for postcode changes

Includes smaller code fixes found by the tests.
This commit is contained in:
Sarah Hoffmann
2022-06-17 17:28:51 +02:00
parent 37b2c6a830
commit 0f00f4968c
4 changed files with 9 additions and 59 deletions

View File

@@ -635,6 +635,8 @@ class LegacyICUNameAnalyzer(AbstractAnalyzer):
(postcode, list(variants)))
self._cache.postcodes.add(postcode)
return postcode_name
class _TokenInfo:
""" Collect token information to be sent back to the database.