Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip signing tests in gw #2296

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_artifact_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@


# TODO Refactor get_client to provide access to bearer token
# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.deployment_standalone
@pytest.mark.installer_smoke_test
def test_download_artifact(ansible_config, galaxy_client):
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_artifact_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ def test_long_field_values(galaxy_client, field):
assert fieldname in resp["error"]["description"]


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.parametrize(
"spec",
[
Expand Down
4 changes: 4 additions & 0 deletions galaxy_ng/tests/integration/api/test_collection_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def test_delete_collection(galaxy_client, uncertifiedv2):
get_collection(gc, cnamespace, cname, ckey[2])


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.galaxyapi_smoke
@pytest.mark.delete
@pytest.mark.collection_version_delete
Expand Down Expand Up @@ -88,6 +90,8 @@ def test_delete_collection_version(galaxy_client, uncertifiedv2):
get_collection(gc, cnamespace, cname, ckey[2])


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.delete
@pytest.mark.min_hub_version("4.7dev")
@pytest.mark.all
Expand Down
6 changes: 6 additions & 0 deletions galaxy_ng/tests/integration/api/test_collection_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def sign_on_demand(gc, signing_service, sign_url=None, **payload):
return resp


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.collection_signing
@pytest.mark.collection_move
@pytest.mark.deployment_standalone
Expand Down Expand Up @@ -141,6 +143,8 @@ def test_collection_auto_sign_on_approval(ansible_config, flags, galaxy_client,
assert metadata["signatures"][0]["pubkey_fingerprint"] is not None


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.collection_signing
@pytest.mark.deployment_standalone
@pytest.mark.parametrize(
Expand Down Expand Up @@ -328,6 +332,8 @@ def test_collection_move_with_signatures(ansible_config, flags, galaxy_client, s
assert metadata["signatures"][0]["pubkey_fingerprint"] is not None


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.collection_signing
@pytest.mark.collection_move
@pytest.mark.deployment_standalone
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_container_push_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from galaxykit.utils import wait_for_task


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.deployment_standalone
@pytest.mark.min_hub_version("4.7.1")
@pytest.mark.min_hub_version("4.6.6")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
from ..utils import get_client, SocialGithubClient


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.min_hub_version("4.7dev")
@pytest.mark.all
def test_x_repo_search_acl_basic_user(uncertifiedv2, galaxy_client,
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
pytestmark = pytest.mark.qa # noqa: F821


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.galaxyapi_smoke
@pytest.mark.certification
@pytest.mark.collection_move
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_ui_paths_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def test_gw_api_ui_v1_collection_versions(galaxy_client, uncertifiedv2):
validate_json(instance=cv_resp['metadata'], schema=schema_collectionversion_metadata)


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.deployment_standalone
@pytest.mark.api_ui
@pytest.mark.skipif(not aap_gateway(), reason="This test only runs if AAP Gateway is deployed")
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/api/test_x_repo_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ def test_search_by_version(self, galaxy_client):
expected = [{"repo_name": test_repo_name, "cv_name": artifact.name, "cv_version": version}]
assert verify_repo_data(expected, results)

# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.parametrize("is_highest,cv_version", [(True, "4.0.2"), (False, "4.0.1")])
@pytest.mark.x_repo_search
def test_search_is_highest_true_false(self, galaxy_client, is_highest, cv_version):
Expand Down
2 changes: 2 additions & 0 deletions galaxy_ng/tests/integration/dab/test_dab_rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def test_dab_rbac_repository_owner_by_user_or_team(
assert result['state'] == 'completed'


# FIXME: unskip when https://issues.redhat.com/browse/AAP-32675 is merged
@pytest.mark.skip_in_gw
@pytest.mark.deployment_standalone
@pytest.mark.min_hub_version("4.10dev")
@pytest.mark.skipif(
Expand Down
Loading