Skip to content

Commit

Permalink
Remove dependency on pulp-smash
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg committed Dec 5, 2023
1 parent b77a7ff commit 0a0baaf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 145 deletions.
1 change: 0 additions & 1 deletion functest_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
django
dynaconf
pulp-smash @ git+https://github.com/pulp/pulp-smash.git
pulpcore-client
pulp-gem-client
pytest
20 changes: 1 addition & 19 deletions pulp_gem/tests/functional/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,12 @@
"""Constants for Pulp Gem plugin tests."""
from urllib.parse import urljoin

from pulp_smash.constants import PULP_FIXTURES_BASE_URL
from pulp_smash.pulp3.constants import (
BASE_CONTENT_PATH,
BASE_DISTRIBUTION_PATH,
BASE_PUBLICATION_PATH,
BASE_REMOTE_PATH,
BASE_REPO_PATH,
)

PULP_FIXTURES_BASE_URL = "https://fixtures.pulpproject.org/"

DOWNLOAD_POLICIES = ["immediate", "streamed", "on_demand"]

GEM_CONTENT_NAME = "gem.gem"

GEM_CONTENT_PATH = urljoin(BASE_CONTENT_PATH, "gem/gem/")

GEM_DISTRIBUTION_PATH = urljoin(BASE_DISTRIBUTION_PATH, "gem/gem/")

GEM_REMOTE_PATH = urljoin(BASE_REMOTE_PATH, "gem/gem/")

GEM_REPO_PATH = urljoin(BASE_REPO_PATH, "gem/gem/")

GEM_PUBLICATION_PATH = urljoin(BASE_PUBLICATION_PATH, "gem/gem/")

GEM_FIXTURE_URL = urljoin(PULP_FIXTURES_BASE_URL, "gem/")
"""The URL to a gem repository."""

Expand Down
125 changes: 0 additions & 125 deletions pulp_gem/tests/functional/utils.py

This file was deleted.

0 comments on commit 0a0baaf

Please sign in to comment.