Devesh Kumar Singh
bd70025c98
Remove --always-unzip based tests
2020-06-25 16:52:15 +05:30
gutsytechster
c4551ac236
refactor(test_uninstall.py): Add helper methods for path lookups
2020-05-30 23:43:48 +05:30
Pradyun Gedam
4297b8d9b7
Revert "fix test_uninstall_console_scripts"
...
This reverts commit 877e1ccc77
.
2020-05-13 02:50:07 +05:30
Stéphane Bidoul
877e1ccc77
fix test_uninstall_console_scripts
...
This particular test checks which files are
created. Since we now build in place, expect the .egg-info directory to be created.
2020-04-12 12:00:58 +02:00
Devesh Kumar Singh
0d2954d726
Add test to ensure egg-link is removed after uninstall
2020-03-30 01:31:08 +05:30
Devesh Kumar Singh
0acfdcd719
Check for uninstalled package after deleting pth file
2020-03-28 11:07:52 +05:30
Devesh Kumar Singh
bcb4009688
Add a test case for missing easy-install.pth fix
2020-03-28 02:14:29 +05:30
Jason R. Coombs
3511d3d493
Convert the remaining '%' formatters to '.format'. Fixes #6973 .
2020-03-06 12:43:03 -05:00
Christopher Hunt
7e65a5a40f
Merge pull request #7578 from uranusjr/test-uppercase-console-scripts
...
Add test for uppercase script name
2020-01-13 09:42:38 +08:00
Tzu-ping Chung
8e72502118
Add test for uppercase script name
2020-01-12 17:16:52 +08:00
Tzu-ping Chung
4def73ca3a
Refactor test to remove unneeded network dep
2020-01-12 17:12:08 +08:00
Tzu-ping Chung
10022df906
Rename test to make its intention clearer
2020-01-12 17:03:28 +08:00
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
Chris Hunt
8d38b37052
Ignore WARNING emitted by setuptools during test
2019-11-23 16:17:35 -05:00
Harsh Vardhan
0e6ac42c93
Add need_svn decorator for tests which require svn
...
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2019-10-15 17:22:16 +05:30
Chris Jerdonek
188ec6ff4e
Don't pass "/trunk" when calling local_checkout() with svn.
2019-09-21 03:29:34 -07:00
Chris Jerdonek
d7709fa106
Assert that initools_dir doesn't already exist.
2019-09-21 02:31:32 -07:00
Christopher Hunt
b1bc41b2c3
Merge pull request #6914 from sbidoul/pip6892-sbi
...
uninstall: remove symlinks created by flit install --symlink
2019-09-17 21:14:28 -04:00
Chris Jerdonek
9a765b8cab
Change local_checkout() to accept tmpdir.
2019-09-13 21:41:32 -07:00
Stéphane Bidoul (ACSONE)
04bc6d090d
Remove non standard function from Path class
2019-09-06 09:42:06 +02:00
Stéphane Bidoul (ACSONE)
f8d58256b7
Add failing test for symlink uninstall
2019-08-24 00:36:40 +02:00
Chris Hunt
0a6b3cedae
Remove unnecessary expect_error.
2019-08-10 22:39:57 -04:00
Chris Hunt
39ac9ca351
Rename compatible functions in tests.lib.path.Path.
2019-07-02 18:48:44 -04:00
Florian Rathgeber
6278c6c371
Decorate tests using SVN with pytest.mark.svn ( #5944 )
2018-11-10 17:13:20 +05:30
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
Pradyun Gedam
a5a07fe61c
Move InstallRequirement.from_line to constructors module
2018-08-21 20:37:40 +05:30
Pradyun Gedam
0983d0da6c
Update failing tests for pytest changes
2018-06-14 16:37:10 +05:30
Pradyun Gedam
e31d784b41
Rename a few tests to add the word "basic"
...
This essentially allows me to do an overall check general check by running the tests using pytest's `-k basic` syntax. Given that I like running tests often and that, in general, I make typos more often than changes that break core functionality, I think this will reduce cycle times for me.
2017-12-16 23:43:46 +05:30
Min RK
b734d6e30d
test trailing-newline uninstall behavior
2017-11-05 16:49:58 +01:00
Pradyun S. Gedam
8222d788f6
Switch pip uninstall behaviour to be idempotent
...
pip uninstall no longer aborts if a package is not installed; instead
it prints a warning that the package is not installed and it is
skipping the uninstallation of it for this reason.
2017-11-03 22:28:24 +05:30
Benoit Pierre
961737ab98
Fix integration tests on Windows ( #4769 )
2017-10-06 20:51:42 +01:00
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -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
6b54145783
Deprecate support for Python 3.3
2017-03-22 19:22:56 -04:00
Donald Stufft
2f7007ca0a
Merge pull request #4351 from dstufft/remove-10
...
Officially bump to 10.0 and remove deprecated items.
2017-03-20 14:45:02 -04:00
Alex Gaynor
3e527f2fbf
Fixed some pytest warnings in the tests
2017-03-20 11:45:29 -04:00
Donald Stufft
fabb73971e
Remove the ability to uninstall distutils installed projects
2017-03-20 10:49:57 -04:00
Donald Stufft
0b1f521059
Switch the default for pip list to the columns format
2017-03-20 10:49:56 -04:00
Donald Stufft
bb48371714
Removed the deprecated `--egg
` flag
2017-03-19 20:31:23 -04:00
Xavier Fernandez
5b7060a20d
Deprecate the _strip_postfix function ( #4174 )
...
It only happens for editable-non-file URLs and is an undocumented
behavior.
2017-02-13 10:02:20 +01:00
Francesco Montesano
d64b871d97
Allow pip install with entrypoint names with colons ( #3901 )
2016-11-19 00:27:16 +01:00
Xavier Fernandez
c96f850b17
Merge pull request #3904 from minrk/egg-link-priority
...
don't assume egg-link corresponds to dist to uninstall
2016-10-29 14:39:50 +02:00
Donald Stufft
403e398330
Deprecate --egg ( #3956 )
2016-09-07 16:43:58 -04:00
Min RK
b8f31ac522
test uninstall after both install and -e
...
this used to fail with SETUPTOOLS_SYS_PATH_TECHNIQUE=raw
2016-08-26 14:40:01 +02:00
Xavier Fernandez
91afd80a39
Fix a bunch of other tests
...
Add a --no-index to avoid network calls
2016-05-19 15:31:46 +02:00
Francesco Montesano
ab9c66e77d
no need for expect_stderr
2016-02-02 13:50:46 +01:00
Francesco Montesano
a5a9c2191d
test uninstall of entry points with colons in name
2016-02-02 13:50:46 +01:00
Donald Stufft
a2fdaefc97
Merge pull request #3389 from ianw/overwrite-distutils
...
Restore ability to uninstall distutils packages
2016-01-21 14:25:12 -05:00
Donald Stufft
3f77110899
Fix tests
2016-01-21 12:34:59 -05:00