Skip to content

Commit

Permalink
Undo set_certication test skips and add upload_signature config to in…
Browse files Browse the repository at this point in the history
…sights.

No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Jul 5, 2023
1 parent 803afa4 commit faa0cac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
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

0 comments on commit faa0cac

Please sign in to comment.