From 6c4f1a6d171f15a1ab45644a6a45b7d32b3ace7b Mon Sep 17 00:00:00 2001 From: Mads Bisgaard Date: Tue, 7 Jan 2025 15:10:34 +0100 Subject: [PATCH] minor correction --- services/api-server/tests/unit/test_licensed_items.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/api-server/tests/unit/test_licensed_items.py b/services/api-server/tests/unit/test_licensed_items.py index e3e3a351ffe..a182a483143 100644 --- a/services/api-server/tests/unit/test_licensed_items.py +++ b/services/api-server/tests/unit/test_licensed_items.py @@ -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 @@ -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",