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

20 commits

Author SHA1 Message Date
Alex Gaynor a46515eb87 Use a smaller repository in the tests for speed.
Refs #1721
2014-04-24 07:48:51 -07: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
Marcus Smith ea09ad5266 disable intermittent travis/pypy error, Issue #1379 2013-12-13 23:57:18 -08:00
Marcus Smith e6348703fd fix --ignore-installed (Issue #1097) 2013-11-29 12:49:14 -08:00
Donald Stufft b1bc406743 Setuptools 0.6 needs --no-use-wheel 2013-11-07 15:43:41 -05:00
Paul Moore ba97b0c030 Fix tests using virtualenv on Windows.
Do not hard code bin as the location of the executables, as this is not
correct on Windows.
2013-10-24 21:26:38 +01:00
Donald Stufft 3095571d8f Copy pip into the per test temporary location as well
Previously pip was always installed directly from the source tree
however this causes concurrency issues so it is now copied into
the temporary directory and installed from there.
2013-08-27 06:49:40 -04:00
Donald Stufft fe60a1d5cf Use a constant for the source directory 2013-08-27 06:49:40 -04:00
Donald Stufft cb73080301 We already have the in development version installed in the venv 2013-08-27 06:49:37 -04: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
Donald Stufft 7975431d2d Don't set PYTHONDONTWRITEBYTECODE on setuptools 0.6.x 2013-08-22 03:52: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
Donald Stufft da0bc4b1d1 Switch to using py.test as the test runner instead of nose
* Better output with the bare asserts we use throughout the tests
* Function fixtures are pretty nice, especially as a way to
  start a background server or create an isolated virtualenv
2013-08-21 10:19:58 -04:00
Marcus Smith e298b32709 confirm wheel was used in setuptools/wheel upgrade test 2013-07-27 01:22:04 -07:00
Marcus Smith 3e8924a7ec setuptools upgrade tests 2013-07-27 00:58:56 -07:00
Marcus Smith 28298c413d more functional/unit tests restructure 2013-05-29 13:41:13 -07:00
Renamed from tests/functional/test_upgrade.py (Browse further)