Skip to content

Commit

Permalink
Introduce BASE_CONTENT_GUARD_PATH
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Brian Bouterse authored and rochacbruno committed Mar 29, 2019
1 parent c7a71b1 commit c9e3649
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulp_smash/pulp3/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/")

Expand Down

0 comments on commit c9e3649

Please sign in to comment.