Skip to content

Commit 9c75e69

Browse files
committed
Update after e40ecfc
Signed-off-by: Andrea Lamparelli <[email protected]>
1 parent 9c34541 commit 9c75e69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ifneq ($(filter arm%,$(OS_ARCH)),)
2525
endif
2626

2727
# env variables
28-
KIOTA_VERSION ?= "v1.22.3"
28+
KIOTA_VERSION ?= "v1.24.3"
2929
HORREUM_BRANCH ?= "master"
3030
HORREUM_OPENAPI_PATH ?= "https://raw.githubusercontent.com/Hyperfoil/Horreum/${HORREUM_BRANCH}/docs/site/content/en/openapi/openapi.yaml"
3131
GENERATED_CLIENT_PATH = "${PROJECT_PATH}/src/horreum/raw_client"

test/horreum_client_it.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from horreum.raw_client.api.test.test_request_builder import TestRequestBuilder
1313
from horreum.raw_client.api.user.apikey.apikey_post_request_body import ApikeyPostRequestBody
1414
from horreum.raw_client.models.key_type import KeyType
15-
from horreum.raw_client.models.protected_type_access import ProtectedType_access
1615
from horreum.raw_client.models.test import Test
16+
from horreum.raw_client.models.test_access import Test_access
1717

1818
DEFAULT_CONNECTION_TIMEOUT: int = 30
1919
DEFAULT_REQUEST_TIMEOUT: int = 100
@@ -135,7 +135,7 @@ async def test_api_key(custom_authenticated_client: HorreumClient):
135135
@pytest.mark.asyncio
136136
async def test_check_create_test(custom_authenticated_client: HorreumClient):
137137
# Create new test
138-
t = Test(name="TestName", description="Simple test", owner="dev-team", access=ProtectedType_access.PUBLIC)
138+
t = Test(name="TestName", description="Simple test", owner="dev-team", access=Test_access.PROTECTED.PUBLIC)
139139
created = await custom_authenticated_client.raw_client.api.test.post(t)
140140
assert created is not None
141141
assert (await custom_authenticated_client.raw_client.api.test.get()).count == 1
@@ -149,7 +149,7 @@ async def test_check_create_test(custom_authenticated_client: HorreumClient):
149149
@pytest.mark.asyncio
150150
async def test_create_test_unauthorized(anonymous_client: HorreumClient):
151151
# Create new test
152-
t = Test(name="TestName", description="Simple test", owner="dev-team", access=ProtectedType_access.PUBLIC)
152+
t = Test(name="TestName", description="Simple test", owner="dev-team", access=Test_access.PROTECTED.PUBLIC)
153153
with pytest.raises(APIError) as ex:
154154
await anonymous_client.raw_client.api.test.post(t)
155155
assert ex.value.response_status_code == 401

0 commit comments

Comments
 (0)