Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changing download_policies
With pulp/pulpcore@59f3450
the download policy by default only includes 'immediate'.

Required PR: pulp/pulpcore#199
Required PR: pulp/pulp_file#255

[noissue]
  • Loading branch information
Brian Bouterse committed Jul 3, 2019
1 parent c9e3649 commit 5c0f301
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions pulp_smash/pulp3/constants.py
Expand Up @@ -2,9 +2,7 @@
"""Constants for Pulp 3 tests."""
from urllib.parse import urljoin

from pulp_smash.api import ( # noqa: F401
_P3_TASK_END_STATES as P3_TASK_END_STATES,
)
from pulp_smash.api import _P3_TASK_END_STATES as P3_TASK_END_STATES # noqa: F401

BASE_PATH = "/pulp/api/v3/"

Expand All @@ -22,13 +20,9 @@

DISTRIBUTION_PATH = urljoin(BASE_PATH, "distributions/")

DOWNLOAD_POLICIES = ("immediate", "on_demand", "streamed")
IMMEDIATE_DOWNLOAD_POLICIES = ("immediate",)

JWT_PATH = urljoin(BASE_PATH, "jwt/")

LAZY_DOWNLOAD_POLICIES = tuple(
[item for item in DOWNLOAD_POLICIES if item != "immediate"]
)
ON_DEMAND_DOWNLOAD_POLICIES = ("on_demand", "streamed")

MEDIA_PATH = "/var/lib/pulp"

Expand Down

0 comments on commit 5c0f301

Please sign in to comment.