1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

14 commits

Author SHA1 Message Date
Laurie Opperman 10911fe881 Fix error when autocompleting after flag
When running autocomplete after any command-line option with unspecified
'metavar' attribute, a traceback for an 'AttributeError' would be
displayed. This is fixed for first checking if 'metavar' was defined.
Fixes #5751
2018-09-17 21:56:46 +10:00
Kexuan Sun 14fe337bcf Improve autocompletion function on file name completion (#5125) 2018-06-21 22:59:31 +05:30
Segev Finer 1b357e5810 Add tests for auto completion of short options 2018-02-06 00:04:14 +02:00
Dustin Ingram ff5b2013a0 Use correct executable name for completion command (#4755) 2017-10-12 10:59:53 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Ville Skyttä cee7a53712 Python 3.6 invalid escape sequence deprecation fixes 2017-03-20 13:54:29 +01:00
c22 f4320aa1f0 Updated "none shell" test 2016-09-23 09:20:38 +10:00
c22 4e2b5c7d00 Update test_completion.py
Fixed the test and got the line length < 80
2016-09-23 09:20:38 +10:00
c22 aef0254953 Added pip completion support for fish shell. 2016-09-23 09:19:47 +10:00
Donald Stufft b7309c6bcc Remove the items deprecated for removal in 7.0 2015-04-07 04:20:51 -04:00
Donald Stufft 9f027337a8 Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05: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 2e2ce0f4e9 break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
Renamed from tests/test_completion.py (Browse further)