Project

Profile

Help

Test #4682

Test to ensure pip installing a package works

Added by CodeHeeler 6 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Platform Release:
Tags:
Sprint:

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 fails MODIFIED Actions

History

#1 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

#2 Updated by kersom 6 months ago

  • Related to Issue #4677: pip installing a package fails added

Please register to edit this issue

Also available in: Atom PDF