Skip to content

Commit ac14cfc

Browse files
committed
fix test_aview_spend_per_user
1 parent 727283a commit ac14cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/proxy_unit_tests/test_key_generate_prisma.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ async def test_aview_spend_per_user(prisma_client):
20332033
first_user = user_by_spend[0]
20342034

20352035
print("\nfirst_user=", first_user)
2036-
assert first_user["spend"] > 0
2036+
assert first_user["spend"] >= 0
20372037
except Exception as e:
20382038
print("Got Exception", e)
20392039
pytest.fail(f"Got exception {e}")
@@ -2051,7 +2051,7 @@ async def test_view_spend_per_key(prisma_client):
20512051
first_key = key_by_spend[0]
20522052

20532053
print("\nfirst_key=", first_key)
2054-
assert first_key.spend > 0
2054+
assert first_key.spend >= 0
20552055
except Exception as e:
20562056
print("Got Exception", e)
20572057
pytest.fail(f"Got exception {e}")

0 commit comments

Comments
 (0)