mirror of
https://github.com/ae-utbm/sith.git
synced 2025-11-10 05:53:06 +00:00
apply new ruff rules
This commit is contained in:
@@ -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