Switch from poetry to uv

This commit is contained in:
2025-01-06 16:17:54 +01:00
parent 429df81ec9
commit 0c4d72e17a
21 changed files with 1940 additions and 2980 deletions

View File

@ -726,7 +726,7 @@ class TestCounterStats(TestCase):
"nickname": user.nick_name,
"perm_sum": perm_time,
}
for user, perm_time in zip(users, perm_times)
for user, perm_time in zip(users, perm_times, strict=False)
]
def test_top_customer(self):
@ -741,7 +741,7 @@ class TestCounterStats(TestCase):
"nickname": user.nick_name,
"selling_sum": sale_amount,
}
for user, sale_amount in zip(users, sale_amounts)
for user, sale_amount in zip(users, sale_amounts, strict=False)
]

View File

@ -462,6 +462,6 @@ def test_update_balance():
# put everything at zero to be sure the amounts were wrong beforehand
customers_qs.update(amount=0)
customers_qs.update_amount()
for customer, amount in zip(customers, [40, 10, 20, 40, 0]):
for customer, amount in zip(customers, [40, 10, 20, 40, 0], strict=False):
customer.refresh_from_db()
assert customer.amount == amount