Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Jan 7, 2025
1 parent 9ede5af commit 6c4f1a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/api-server/tests/unit/test_licensed_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# pylint: disable=too-many-arguments
import asyncio
from functools import partial
from typing import cast

import pytest
from faker import Faker
Expand Down Expand Up @@ -208,7 +209,8 @@ async def side_effect(
side_effect,
)
body = LicensedItemCheckoutData(
number_of_seats=faker.pyint(min_value=1), service_run_id="myservice"
number_of_seats=faker.pyint(min_value=1),
service_run_id=cast(ServiceRunID, "myservice"),
)
resp = await client.post(
f"{API_VTAG}/wallets/{_wallet_id}/licensed-items/{_licensed_item_id}/checkout",
Expand Down

0 comments on commit 6c4f1a6

Please sign in to comment.