Skip to content

Commit

Permalink
fix test_gateway_create_ns_csrftoken
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
jerabekjiri committed Aug 2, 2024
1 parent d4c2093 commit f7e22b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# test CI

![](imgs/medium.png)

!!! WARNING
Expand Down
4 changes: 2 additions & 2 deletions galaxy_ng/tests/integration/api/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down

0 comments on commit f7e22b2

Please sign in to comment.