Skip to content

Commit 98a2457

Browse files
fix test
1 parent 729b495 commit 98a2457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/resource-usage-tracker/tests/unit/with_dbs/test_api_resource_tracker_credit_transactions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def test_credit_transactions_workflow(
7373
)
7474
assert response.status_code == status.HTTP_201_CREATED
7575
data = response.json()
76-
data["credit_transaction_id"] == 2
76+
assert data["credit_transaction_id"] == 2
7777

7878
response = await async_client.post(
7979
url=f"{url}",
@@ -99,4 +99,4 @@ async def test_credit_transactions_workflow(
9999
assert response.status_code == status.HTTP_200_OK
100100
data = response.json()
101101
assert data["wallet_id"] == 1
102-
assert data["available_osparc_credits"] == Decimal(1340.04)
102+
assert data["available_osparc_credits"] == "1340.04"

0 commit comments

Comments
 (0)