This commit is contained in:
dni ⚡
2024-09-05 12:38:59 +02:00
parent 9f60b14745
commit cd7fcd1c71
3 changed files with 18 additions and 16 deletions
-1
View File
@@ -367,7 +367,6 @@ async def test_get_payments_history(client, adminkey_headers_from, fake_payments
assert response.status_code == 200
data = response.json()
assert len(data) == 1
print(data)
assert data[0]["income"] == sum(
[int(payment.amount * 1000) for payment in fake_data if not payment.out]
)