Test #4682
closedTest to ensure pip installing a package works
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
Updated by kersom over 5 years ago
- Related to Issue #4677: pip installing a package fails added
Added by gerrod over 4 years ago
Updated by gerrod over 4 years ago
- Status changed from NEW to MODIFIED
Applied in changeset ec540ea4c06ec80aaa23421ead651904a9dcaee6.
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