Project

Profile

Help

Test #4682

closed

Test to ensure pip installing a package works

Added by CodeHeeler over 5 years ago. Updated over 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
Actions #1

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #2

Updated by kersom over 5 years ago

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

Added by gerrod over 4 years ago

Revision ec540ea4 | View on GitHub

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

Actions #3

Updated by gerrod over 4 years ago

  • Status changed from NEW to MODIFIED

Also available in: Atom PDF