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 9ede5af commit 6c4f1a6Copy full SHA for 6c4f1a6
services/api-server/tests/unit/test_licensed_items.py
@@ -4,6 +4,7 @@
4
# pylint: disable=too-many-arguments
5
import asyncio
6
from functools import partial
7
+from typing import cast
8
9
import pytest
10
from faker import Faker
@@ -208,7 +209,8 @@ async def side_effect(
208
209
side_effect,
210
)
211
body = LicensedItemCheckoutData(
- number_of_seats=faker.pyint(min_value=1), service_run_id="myservice"
212
+ number_of_seats=faker.pyint(min_value=1),
213
+ service_run_id=cast(ServiceRunID, "myservice"),
214
215
resp = await client.post(
216
f"{API_VTAG}/wallets/{_wallet_id}/licensed-items/{_licensed_item_id}/checkout",
0 commit comments