Skip to content

Commit c5f7049

Browse files
committed
update documentation for authorized endpoint to align with openshift authorized endpoint. Added skip_userid_check as returned bool value to describe whether user_id check was performed. Aligned k8s missing header status code with openshift to 401.
1 parent 09de8ae commit c5f7049

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/models/responses/test_authorized_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def test_constructor(self) -> None:
1515
ar = AuthorizedResponse(
1616
user_id="123e4567-e89b-12d3-a456-426614174000",
1717
username="testuser",
18+
skip_userid_check=False
1819
)
1920
assert ar.user_id == "123e4567-e89b-12d3-a456-426614174000"
2021
assert ar.username == "testuser"

0 commit comments

Comments
 (0)