feat: Recipe Finder (aka Cocktail Builder) (#4542)

This commit is contained in:
Michael Genson
2024-12-03 07:27:41 -06:00
committed by GitHub
parent d26e29d1c5
commit 4e0cf985bc
28 changed files with 1959 additions and 151 deletions

View File

@@ -634,7 +634,8 @@ def test_pagination_order_by_multiple(unique_user: TestUser, order_direction: Or
random.shuffle(abbreviations)
random.shuffle(descriptions)
assert abbreviations != descriptions
while abbreviations == descriptions:
random.shuffle(descriptions)
units_to_create: list[SaveIngredientUnit] = []
for abbreviation in abbreviations:
@@ -694,7 +695,8 @@ def test_pagination_order_by_multiple_directions(
random.shuffle(abbreviations)
random.shuffle(descriptions)
assert abbreviations != descriptions
while abbreviations == descriptions:
random.shuffle(descriptions)
units_to_create: list[SaveIngredientUnit] = []
for abbreviation in abbreviations: