Pradyun Gedam
bc88399d07
Change Path.makedirs() -> Path.mkdir(parents=True)
2019-07-12 13:30:18 +05:30
Chris Hunt
39ac9ca351
Rename compatible functions in tests.lib.path.Path.
2019-07-02 18:48:44 -04:00
Chris Hunt
ec73d72fd3
Remove unused incompatible functions from tests.lib.Path.
2019-07-01 10:23:03 +02:00
Chris Jerdonek
449d268b5a
Merge pull request #6661 from cjerdonek/add-selection-prefs-class
...
Add a SelectionPreferences class
2019-06-30 00:52:15 -07:00
Chris Hunt
66e68273c8
Add assert in assert_paths_equal.
2019-06-29 21:07:50 -04:00
Chris Jerdonek
ae79b5bf5c
Add a SelectionPreferences class.
2019-06-28 11:14:55 -07:00
Chris Jerdonek
8af3f21a57
Filter out yanked links earlier when allow_yanked=False.
2019-06-27 19:50:25 -07:00
Chris Jerdonek
cab7316e2b
Change PackageFinder.create() to accept a SearchScope object.
2019-06-21 14:41:49 -07:00
Chris Jerdonek
210dab7470
Add make_test_finder() helper function.
2019-06-11 19:18:56 -07:00
Chris Jerdonek
b8d693c71e
Add a TargetPython class.
2019-06-11 18:19:20 -07:00
Chris Jerdonek
53c5293517
Merge pull request #6474 from cjerdonek/logging-errors-during-tests
...
Don't allow logging errors during tests even if allow_stderr_error=True
2019-05-10 11:13:32 -04:00
Chris Jerdonek
0b8377d53f
Move run_with_log_command() after run_stderr_with_prefix().
...
We do this to better parallel the test order in TestPipTestEnvironment,
since the tests using run_with_log_command() occur later.
2019-05-07 07:05:01 -04:00
Chris Jerdonek
8a9e36ee15
Change to never allow logging errors during tests.
2019-05-07 07:04:57 -04:00
Chris Jerdonek
46fc5ccf45
Add failing test.
2019-05-07 06:51:42 -04:00
Chris Jerdonek
0ea639d644
Remove url as an instance attribute of the VersionControl class.
2019-05-06 22:59:18 -04:00
Chris Jerdonek
bef5b2e6f3
Improve PipTestEnvironment to check for logging errors.
2019-05-06 14:55:16 -04:00
johnthagen
c8e9caa8a7
Add Subversion.get_vcs_version method ( #6390 )
...
Add Subversion.get_vcs_version method to return the version of the currently installed Subversion client.
2019-04-17 00:34:19 -07:00
Chris Jerdonek
66ae68122f
Disallow two more argument combinations, and test.
2019-03-26 20:34:23 -07:00
Chris Jerdonek
ac18393df7
Make expect_stderr mean the weaker allow_stderr_warning.
2019-03-26 20:34:23 -07:00
Chris Jerdonek
9efd2933ab
Remove logic for SSLContext warning on old versions of Python.
2019-03-26 20:34:19 -07:00
Chris Jerdonek
5b9065cf5a
Make deprecated_python cause allow_stderr_warning not expect_stderr.
2019-03-26 20:32:49 -07:00
Chris Jerdonek
bb290e10f2
Address review comments, and add tests.
2019-03-20 02:08:37 -07:00
Chris Jerdonek
2e98d3975f
Allow finer-grained testing of subprocess stderr.
2019-03-16 04:16:37 -07:00
Chris Jerdonek
1fdd7e26c5
Merge pull request #6139 from jelmer/bazaar-export-perf
...
Bazaar: Export directly from the remote branch.
2019-03-01 01:36:02 -08:00
Chris Jerdonek
6cdecce71d
Fix an IndexError crash when a legacy build of a wheel fails.
2019-02-10 13:10:39 -08:00
Chris Jerdonek
57ec8bc5e0
Reset os.environ while preserving the original mapping.
2019-02-02 17:19:20 -08:00
Jelmer Vernooij
bb385e2dbb
Make sure that bzr is available when running under Travis.
2019-01-27 02:35:10 +00:00
Jon Dufresne
a06d846a1d
Remove workaround for unsupported Pythons
...
subprocess.check_call() was added in Python 2.5.
https://docs.python.org/2/library/subprocess.html#subprocess.check_call
2019-01-15 19:44:05 -08:00
Xavier Fernandez
5e573df69c
Add deprecate_python fixture to easily deprecate python versions
...
pip usually emits a warning and tests have to be adapted
2019-01-12 21:50:40 +01:00
Pradyun Gedam
5274d7544e
Remove workaround for #6057
2018-12-08 09:17:53 +05:30
Chris Jerdonek
36266b44b3
Merge pull request #6006 from cjerdonek/clean-up-some-git-test-code
...
Clean up some git test code.
2018-12-05 14:26:46 -08:00
Pradyun Gedam
f5ae9597c4
Disable Mercurial Tests on Travis
2018-12-02 16:45:53 +05:30
Chris Jerdonek
6e823fbc89
Add _git_commit() to tests.lib.
2018-11-12 09:49:00 -08:00
Chris Jerdonek
9b8db0d160
Move _vcs_add() to before its first use.
2018-11-12 00:13:32 -08:00
Chris Jerdonek
4b0d8a8eb6
Move a hard-coded relative path out of tests/lib.
2018-11-11 22:16:42 -08:00
Paul Moore
4ca38e0c38
Merge with master
2018-11-11 13:49:35 +00:00
Chris Jerdonek
2dbd34724a
Test Git.get_remote_url().
2018-11-10 01:35:22 -08:00
Benoit Pierre
744b8cf96e
improve build environment
...
- check build requirements for conflicts
- better isolation (ignore system site packages)
- support 2 prefixes: a "normal" one, and an "overlay" one
(with higher priority over "normal")
2018-10-29 23:17:51 +01:00
Chris Jerdonek
e75803774d
Simplify some git-commit calls in the test code.
2018-10-24 18:27:30 -07:00
Pradyun Gedam
cc05433512
Merge pull request #5910 from cjerdonek/add-create-main-file
...
DRY up the test code that creates a module with a main() function.
2018-10-23 20:05:05 +05:30
Chris Jerdonek
ece4866086
DRY up the test code to create a module with a main() function.
2018-10-23 00:06:06 -07:00
Benoit Pierre
a4209aa0fb
tests: add support for using venv for the virtual environment
...
Add a new testsuite option `--use-venv` to enable the use of `venv`
for creating a test virtual environment. The option is opt-in because
creating a `venv` environment does not work right when running under a
`virtualenv`; which is why `tox-venv` must be used in combination with
tox.
2018-10-21 21:43:32 +02: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
Felix Yan
f3d82aa741
Fix a typo in tests/lib/configuration_helpers.py ( #5858 )
2018-10-09 20:28:50 +05:30
Paul Moore
78144e264a
Merge pull request #5692 from pfmoore/pep517
...
Refactorings and work in preparation for PEP 517
2018-08-11 08:35:36 +01:00
Pradyun Gedam
cc47adee9a
Change the import names as renamed
2018-08-05 14:24:18 +05:30
Paul Moore
873bae7b44
Initial tests for PEP 517 backend calls
2018-08-01 16:15:11 +01:00
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
8d45e0e647
Move basecommand to pip._internal.cli
2018-07-29 18:26:28 +05:30
Benoit Pierre
06fb565f0c
tests: drop package4
test data
...
No need for a wheel of `simple` now that build dependencies support source installs.
2018-06-26 10:40:23 +02:00