Project

Profile

Help

Test #4682

Test to ensure pip installing a package works

Added by CodeHeeler over 1 year ago. Updated 2 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
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 failsMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision ec540ea4 View on GitHub
Added by gerrod 2 months ago

Add test for pip install

Added test to check that python repositories that are published and distributed can be properly consumed through 'pip install'

fixes #4682 https://pulp.plan.io/issues/4682

History

#1 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#2 Updated by kersom over 1 year ago

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

#3 Updated by gerrod 2 months ago

  • Status changed from NEW to MODIFIED

Please register to edit this issue

Also available in: Atom PDF