Project

Profile

Help

Test #4682

closed

Test to ensure pip installing a package works

Added by CodeHeeler almost 5 years ago. Updated almost 4 years ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Platform Release:
Tags:
Sprint:
Quarter:

Description

To prevent a repeat of issue 4677 [0] where pip installation fails, we should add a test that attempts to install a package with pip.

Our current test [1] only checks that direct download works, and thus all our tests were passing when no one could pip install packages we served.

I'm guessing the added code would be placed around L99 [2] to download using pip and then add an additional assert statement.

[0] https://pulp.plan.io/issues/4677
[1] https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L29
[2] https://github.com/pulp/pulp_python/blob/master/pulp_python/tests/functional/api/test_download_content.py#L99


Related issues

Related to Python Support - Issue #4677: pip installing a package failsMODIFIEDCodeHeelerActions

Also available in: Atom PDF