Skip to content

Commit

Permalink
More test GW skipping (#2251)
Browse files Browse the repository at this point in the history
* skip more
* fix linter
* relogin=False
* add trailing slash
No-Issue
  • Loading branch information
jerabekjiri authored Sep 3, 2024
1 parent e0c94c5 commit 08dc2d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions galaxy_ng/tests/integration/api/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def test_gateway_token_auth(galaxy_client):

@pytest.mark.deployment_standalone
@pytest.mark.skip_in_gw
@pytest.mark.skipif(not aap_gateway(), reason="This test can't run if AAP Gateway is deployed")
def test_ui_login_csrftoken(galaxy_client):
if is_keycloak():
pytest.skip("This test is not valid for keycloak")
Expand Down
1 change: 1 addition & 0 deletions galaxy_ng/tests/integration/dab/test_dab_rbac_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ def test_group_sync_from_pulp_to_dab(galaxy_client, assert_user_in_group, user_a
assert_user_in_group(user["id"], group["id"], expected=False)


@pytest.mark.skip(reason="FIXME - skip until resource management is decided")
def test_team_member_sync_from_dab_to_pulp(galaxy_client, assert_user_in_group, user_and_group):
gc = galaxy_client("admin")
user, group = user_and_group
Expand Down
4 changes: 2 additions & 2 deletions galaxy_ng/tests/integration/dab/test_ui_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_ui_v2_teams(
assert team["name"] == team_name

# Check that associated group exists
group = client.get(f"_ui/v1/groups/{team['group']['id']}")
group = client.get(f"_ui/v1/groups/{team['group']['id']}/")
assert group["id"] == team["group"]["id"]
assert group["name"] == f"Default::{team_name}"

Expand All @@ -243,7 +243,7 @@ def test_ui_v2_teams(

# Check that associated group does not exist
with pytest.raises(GalaxyClientError) as ctx:
client.get(f"_ui/v1/groups/{team['group']['id']}")
client.get(f"_ui/v1/groups/{team['group']['id']}/")
assert ctx.value.response.status_code == HTTPStatus.NOT_FOUND


Expand Down

0 comments on commit 08dc2d6

Please sign in to comment.