From c9e36494526cd71ca2e2840a62f0a500b766b9fc Mon Sep 17 00:00:00 2001 From: Brian Bouterse Date: Fri, 29 Mar 2019 10:07:45 -0400 Subject: [PATCH] Introduce BASE_CONTENT_GUARD_PATH There is an existing constant called CONTENT_GUARD_PATH which includes plugin-specific portions to its URL. This changes the name to indicate it's only a BASE path and includes only the URL portions that are specified by core. The corresponding viewset comes from here: https://github.com/pulp/pulpcore/blob/7fdc5626559051e540509f7b699c28684e1043a9/pulpcore/app/viewsets/publication.py#L49 --- pulp_smash/pulp3/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pulp_smash/pulp3/constants.py b/pulp_smash/pulp3/constants.py index bfa8622eb..90b33a9a4 100644 --- a/pulp_smash/pulp3/constants.py +++ b/pulp_smash/pulp3/constants.py @@ -12,11 +12,11 @@ ARTIFACTS_PATH = urljoin(BASE_PATH, "artifacts/") -BASE_REMOTE_PATH = urljoin(BASE_PATH, "remotes/") +BASE_CONTENT_GUARDS_PATH = urljoin(BASE_PATH, "contentguards/") BASE_PUBLISHER_PATH = urljoin(BASE_PATH, "publishers/") -CONTENT_GUARDS_PATH = urljoin(BASE_PATH, "contentguards/certguard/certguard/") +BASE_REMOTE_PATH = urljoin(BASE_PATH, "remotes/") CONTENT_PATH = urljoin(BASE_PATH, "content/")