From f7e22b251d5bad280b02caa2d402fe7b59ffe474 Mon Sep 17 00:00:00 2001 From: jerabekjiri Date: Tue, 30 Jul 2024 12:58:34 +0200 Subject: [PATCH] fix test_gateway_create_ns_csrftoken No-Issue --- docs/index.md | 2 -- galaxy_ng/tests/integration/api/test_auth.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 356eea3e5a..6a4fb1b47a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,3 @@ -# test CI - ![](imgs/medium.png) !!! WARNING diff --git a/galaxy_ng/tests/integration/api/test_auth.py b/galaxy_ng/tests/integration/api/test_auth.py index 8348d686d9..00c9bf99c1 100644 --- a/galaxy_ng/tests/integration/api/test_auth.py +++ b/galaxy_ng/tests/integration/api/test_auth.py @@ -108,8 +108,8 @@ def test_gateway_create_ns_csrftoken(galaxy_client): remove_from_cache("admin") create_body = {"name": f"test_ns_{generate_random_string(4).lower()}", "groups": []} with pytest.raises(GalaxyClientError) as ctx: - gc.post("v3/namespaces/", create_body, relogin=False, parse_json=False) - assert ctx.value.response.status_code == 403 + gc.post("v3/namespaces/", create_body, relogin=False) + assert ctx.value.response.status_code == 401 remove_from_cache("admin")