remove Refilling.is_validated

This commit is contained in:
imperosol
2025-11-19 20:05:35 +01:00
parent 78fe4e52ca
commit 56c2c2b70e
6 changed files with 20 additions and 18 deletions

View File

@@ -108,15 +108,22 @@ def test_eboutic_basket_expiry(
client.force_login(customer.user)
sale_recipe.make(
customer=customer,
counter=eboutic,
date=iter(sellings),
_quantity=len(sellings),
_bulk_create=True,
)
for date in refillings:
refill_recipe.make(customer=customer, counter=eboutic, date=date)
if sellings:
sale_recipe.make(
customer=customer,
counter=eboutic,
date=iter(sellings),
_quantity=len(sellings),
_bulk_create=True,
)
if refillings:
refill_recipe.make(
customer=customer,
counter=eboutic,
date=iter(refillings),
_quantity=len(refillings),
_bulk_create=True,
)
assert (
f'x-data="basket({int(expected.timestamp() * 1000) if expected else "null"})"'