We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce999a commit 2e56581Copy full SHA for 2e56581
services/resource-usage-tracker/tests/unit/with_dbs/conftest.py
@@ -137,7 +137,9 @@ def _creator(**overrides) -> dict[str, Any]:
137
"user_id": faker.pyint(),
138
"user_email": faker.email(),
139
"osparc_credits": -abs(faker.pyfloat()),
140
- "transaction_status": choice(list(CreditTransactionClassification)),
+ "transaction_status": choice(
141
+ [member.value for member in CreditTransactionClassification]
142
+ ),
143
"transaction_classification": "DEDUCT_SERVICE_RUN",
144
"service_run_id": faker.uuid4(),
145
"payment_transaction_id": faker.uuid4(),
0 commit comments