limit the number of variants that can be produced

This commit is contained in:
Sarah Hoffmann
2021-07-02 16:42:13 +02:00
parent c32551b4e0
commit 62d5984b1b
2 changed files with 7 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ VARIANT_TESTS = [
(('river$ -> r',), "Bent River", {'bent river', 'bent r'}),
(('^north => n',), "North 2nd Street", {'n 2nd street'}),
(('^north => n',), "Airport North", {'airport north'}),
(('am -> a',), "am am am am am am am am", {'am am am am am am am am'}),
(('am => a',), "am am am am am am am am", {'a a a a a a a a'})
]
@pytest.mark.parametrize("rules,name,variants", VARIANT_TESTS)