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

Undo set_certification test skips #1789

Merged
merged 1 commit into from
Jul 5, 2023
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
1 change: 1 addition & 0 deletions dev/insights/RUN_INTEGRATION.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -e
export HUB_API_ROOT="http://localhost:8080/api/automation-hub/"
export HUB_AUTH_URL="http://localhost:8080/auth/realms/redhat-external/protocol/openid-connect/token"
export HUB_USE_MOVE_ENDPOINT="true"
export HUB_UPLOAD_SIGNATURES="true"
unset HUB_TOKEN

which virtualenv || pip install --user virtualenv
Expand Down
10 changes: 0 additions & 10 deletions galaxy_ng/tests/integration/utils/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from urllib.parse import urlparse
from contextlib import contextmanager

import pytest

from ansible.galaxy.api import GalaxyError
from orionutils.generator import build_collection as _build_collection
from orionutils.generator import randstr
Expand Down Expand Up @@ -350,14 +348,6 @@ def set_certification(client, collection, level="published", hub_4_5=False):
do not have auto-certification enabled.
"""

# are signatures required?
settings = client("_ui/v1/settings/")
if settings.get("GALAXY_REQUIRE_SIGNATURE_FOR_APPROVAL"):
pytest.skip(
"FIXME: set_certification function incompatible with"
+ " GALAXY_REQUIRE_SIGNATURE_FOR_APPROVAL."
)

if hub_4_5:
if client.config["use_move_endpoint"]:
url = (
Expand Down