Xavier Fernandez
645809944c
Move config files locations inside a function ( #6736 )
2019-07-20 22:29:24 +02:00
Chris Hunt
39ac9ca351
Rename compatible functions in tests.lib.path.Path.
2019-07-02 18:48:44 -04:00
Chris Jerdonek
a9a9cfd98c
Improve the debug log message when installing an incompatible wheel.
2019-05-25 23:59:32 -07:00
Paul Moore
a82b7ce5e7
Fix test_pep518_with_user_pip which was getting errors due to irrelevant changes in setuptools output
2018-10-29 23:32:13 +01:00
Benoit Pierre
add3801163
tests: rework tests virtual environment
...
- cleanup virtualenv creation code
- ensure all testing virtual environments use a recent version
of setuptools / wheel, making it easier to switch to custom
versions of those, as well as reducing network accesses
- reduce size of testing virtual environment, slightly speeding
up the testsuite
2018-10-18 23:28:37 +02:00
Jon Dufresne
9c4bd6d5eb
Update doc and comment URLs to https where available
2018-06-13 09:00:42 -07:00
Donald Stufft
275ab7c3f5
Switch pip to use Warehouse by default
2018-04-16 15:54:11 -04:00
Benoit Pierre
961737ab98
Fix integration tests on Windows ( #4769 )
2017-10-06 20:51:42 +01:00
Pradyun S. Gedam
fcfdc0f189
Fix Tests to depend on testpypi
2017-09-12 15:41:52 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00
Xavier Fernandez
b709b1ef4a
Add a common_wheels fixtures providing wheel & setuptools wheels
2017-07-21 18:08:53 +02:00
Pradyun S. Gedam
1832569530
Sort all imports
2017-05-16 15:47:47 +05:30
Xavier Fernandez
4716962112
Improve tests
...
- improve two tests to make them network-less
- add a bunch of pytest.mark
2016-12-04 21:54:50 +01:00
Donald Stufft
6afc718307
Remove items slated for removal in pip 8.0
2015-09-03 10:55:11 -04:00
Robert Collins
a66d3e2e8b
Issue #2867 : Accept --no/only-binary via pip.conf
2015-06-10 10:25:15 +12:00
Donald Stufft
b7309c6bcc
Remove the items deprecated for removal in 7.0
2015-04-07 04:20:51 -04:00
Xavier Fernandez
9dd1852c16
remove DistributionNotFound when no version is found
...
- and rely on if not applicable_versions test instead
- fixes #2502
- rephrase the DistributionNotFound error message to fix other tests
2015-03-15 12:07:36 +01:00
Matej Stuchlik
c5024dc851
Mark tests requiring Internet access
2015-01-15 00:53:15 +01:00
Donald Stufft
cc2a44e995
Normalize names in a URL
...
PyPI and Bandersnatch now normalize the project name in their
URLs. This change matches that and will reduce the number of
redirects we hit on PyPI and will reduce the need to hit /simple/
on a Bandersnatch mirror.
2014-09-18 07:11:31 -04:00
Donald Stufft
f63d1e3abb
Implement platform specific user config locations
2014-09-10 11:43:34 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Donald Stufft
ee2cb9c926
Don't rely on appspot
2014-06-10 12:35:51 -04:00
Alex Gaynor
b48b9ce53f
Resolve several typos in the codebase
2014-04-29 22:33:04 -07:00
Donald Stufft
95035fc5c4
Turn on everything in flake8
...
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft
9f027337a8
Use Flake8 on the test of pip's Python files
2014-01-28 19:47:58 -05:00
Paul Moore
884861f390
Added a virtualenv-specific configuration file
2013-12-04 13:04:54 +00:00
Donald Stufft
1650d4166a
Fix some missing find_links -> data.find_links switches
2013-08-27 06:49:40 -04:00
Donald Stufft
487925ea3f
Isolate the tests from the shared data directory
2013-08-27 06:49:35 -04:00
Donald Stufft
0c42245f21
Replace explicit calls to reset_env() with the script fixture
2013-08-27 06:47:23 -04:00
Donald Stufft
9894c8baac
Refactor tests.lib
...
* Move virtualenv creation out of TestPipEnvironment
* Remove global state and force explicit use of TestPipEnvironment
instances
* Remove "backup" virtualenv copying and instead create new
virtual environments each time.
* Remove the monkeypatched "PyPICache" functionality
* Remove things that were not being used anymore and were dead
weight
* Remove sitecustomize support which was primarily used to
monkeypatch the "PyPICache" but was used in one or two other
tests.
2013-08-21 22:40:16 -04:00
Marcus Smith
28298c413d
more functional/unit tests restructure
2013-05-29 13:41:13 -07:00