Tzu-ping Chung
da23209fbe
Expect deprecation warning for build_dir in tests
2020-06-23 20:18:42 +08:00
Stéphane Bidoul
acab2ee54e
Deprecate --build-dir
2020-06-21 19:05:55 +02:00
Tzu-ping Chung
daf454bb3b
Mark build dir tests as passing for new resolver
...
The new resolver uses UUID to allow parallel build directories, so this
error will no longer occur.
2020-06-04 23:26:19 +08:00
Devesh Kumar Singh
b4d8523b1f
Remove tests_install_cleanup tests using static build dir
2020-05-21 19:38:47 +05:30
Jason R. Coombs
6282a307dc
👹 Feed the hobgoblins (delint).
2020-03-06 12:43:10 -05:00
Jason R. Coombs
3511d3d493
Convert the remaining '%' formatters to '.format'. Fixes #6973 .
2020-03-06 12:43:03 -05:00
Chris Hunt
98cd193727
Remove delete_marker_file writing in tests
...
Nothing checks for this file, so no need to write it.
2020-02-05 20:14:44 -05:00
Chris Hunt
dd8753cdee
Mitigate Windows test failures due to PAX-format wheel release
2020-01-29 08:53:23 -05:00
Deepak Sharma
b242c3979a
String formatting updated
2020-01-23 18:09:59 +05:30
Chris Hunt
7af9371176
Remove redundant expect_error=False in tests
...
This is the default, so there is no need to specify it explicitly.
2020-01-03 14:25:36 +01:00
Stéphane Bidoul (ACSONE)
c93acfb20b
Test legacy clean not attempt after PEP 517 build failure
2020-01-02 12:14:03 +01:00
Chris Jerdonek
9a765b8cab
Change local_checkout() to accept tmpdir.
2019-09-13 21:41:32 -07:00
Xavier Fernandez
d942a4ee65
tests: fix typos
2019-09-06 13:13:24 +02:00
Chris Hunt
0a6b3cedae
Remove unnecessary expect_error.
2019-08-10 22:39:57 -04:00
Xavier Fernandez
34092d3234
Move pip marker related constant & function in their own module
...
It didn't seem related with the rest of the locations module
2019-07-18 22:53:05 +02:00
Chris Hunt
39ac9ca351
Rename compatible functions in tests.lib.path.Path.
2019-07-02 18:48:44 -04:00
Pradyun Gedam
1694a5f1bf
Move status_codes to pip._internal.cli
2018-07-30 09:43:53 +05:30
Benoit Pierre
72820a6100
tests: fix `test_cleanup_prevented_upon_build_dir_exception`
2018-05-19 12:51:27 +02:00
Pradyun Gedam
1c6a450643
Merge branch 'master' of github.com:pypa/pip into cache/ephem-wheel-cache
2017-10-20 13:51:22 +05:30
Benoit Pierre
961737ab98
Fix integration tests on Windows ( #4769 )
2017-10-06 20:51:42 +01:00
Pradyun S. Gedam
ebf06ceb9d
Merge master
2017-10-04 16:58:31 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00
Thomas Kluyver
a51843a92a
Expect temp files on another test
2017-07-05 20:06:11 -04:00
Thomas Kluyver
9109322ed5
Expect temp files in another test
2017-07-05 20:06:11 -04:00
Pradyun S. Gedam
9923c1ad7e
Sort imports and minor Flake8 changes ( #4520 )
...
* Run isort on the codebase
Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests
* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam
1832569530
Sort all imports
2017-05-16 15:47:47 +05:30
Donald Stufft
b7309c6bcc
Remove the items deprecated for removal in 7.0
2015-04-07 04:20:51 -04:00
Donald Stufft
a88bc0de73
Send log messages >= logging.WARNING to stderr
2015-04-06 23:11:16 -04:00
Matej Stuchlik
c5024dc851
Mark tests requiring Internet access
2015-01-15 00:53:15 +01:00
Donald Stufft
01610be0d5
Use a secure randomized build directory when possible
2014-11-11 20:19:10 -05:00
Daniel Hahler
e52043b407
Fix path to build dir in assertion
...
`Path() / "/build"` results in an absolute path `/build`, which is not
what is meant to be checked for.
2014-05-07 17:15:42 +02:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04: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
Donald Stufft
487925ea3f
Isolate the tests from the shared data directory
2013-08-27 06:49:35 -04:00
Donald Stufft
f9a3b97b41
Explicitly pass around a directory for tests.lib.local_repos
2013-08-27 06:47:25 -04:00
Donald Stufft
0c42245f21
Replace explicit calls to reset_env() with the script fixture
2013-08-27 06:47:23 -04:00
Lincoln de Sousa
9584608aac
Cmds {install,wheel} should return proper error code
...
The `pip` executable was returning a successful status code (`0`) when
trying to install new packages with existing previous build directories.
2013-08-25 19:42:25 -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
ef4953d578
return upon PreviousBuildDir
2013-07-24 02:02:08 -07:00
Marcus Smith
28298c413d
more functional/unit tests restructure
2013-05-29 13:41:13 -07:00