mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-02 08:54:18 +00:00
apply new ruff rules
This commit is contained in:
1 parent
d940e32dac
commit
f027464d0e
7 files changed
+19
-21
No files matched your search
@@ -108,7 +108,7 @@ class TestPaymentSith(TestPaymentBase):
|
||||
)
|
||||
assert Basket.objects.filter(id=self.basket.id).first() is None
|
||||
self.customer.customer.refresh_from_db()
|
||||
assert self.customer.customer.amount == Decimal("1")
|
||||
assert self.customer.customer.amount == Decimal(1)
|
||||
|
||||
sellings = Selling.objects.filter(customer=self.customer.customer).order_by(
|
||||
"quantity"
|
||||
|
||||
Reference in new issue
Block a user