Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Marcus Smith
b0b05737a9
Merge pull request #1787 from qwcode/wheel_editables
...
build wheels for dependencies of editables
2014-05-09 15:00:50 -07:00
Donald Stufft
97d8bee705
Isolate our tests from the running user's configuration
2014-05-07 16:17:07 -04:00
Marcus Smith
12034176a1
build wheels for dependencies of editables
2014-05-03 10:12:57 -07:00
Donald Stufft
e3873b1be8
Merge pull request #1704 from jamezpolley/develop
...
If at first you can't stat the index file, try again
2014-05-03 07:46:29 -04:00
James Polley
58097b64c4
Add tests (and data required for tests) for new code that enables retry
...
if we can't stat a file while using a file:/// index-url.
2014-04-30 12:03:55 +10:00
Paul Moore
92c3a673fd
Fix tests on Windows, where Path objects were changing to strings mysteriously...
2014-04-28 15:38:39 +01:00
Matthew Iversen
d1a7130246
Fix compatibility with wheel 0.23.0
...
wheel now only produces the major python version for the tag of pure
distributions, so expect that instead.
2014-04-03 10:49:27 +11:00
Marcus Smith
2264dc4398
lib path fixes for pypy tests
2014-03-29 20:17:10 -07:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04:00
Matthew Iversen
4008c0a111
Fix tests for subdirectory install
...
- make assert_install test clearer
- Add option allowing for testing install from an editable subdirectory
2014-03-09 05:33:05 +11: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
Paul Nasrat
951ef7438c
Merge remote-tracking branch 'niedbalski/develop' into subdirectory-editable
...
Conflicts:
CHANGES.txt
tests/functional/test_install_reqs.py
tests/lib/__init__.py
tests/unit/test_req.py
Additional work - refactored tests to new style.
2013-09-27 14:42:05 -04:00
Marcus Smith
f6d242aeea
merge from 1.4.X
2013-09-01 13:15:45 -07:00
Marcus Smith
1afdc665ae
don't override distutils scripts location using pip's legacy logic
2013-08-31 15:28:44 -07:00
Donald Stufft
5fece08556
Hide assert_raises_regexp in the traceback
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
bacf3a0091
Wrap the test data in a helper that will copy to the tmpdir
...
This is needed because the various activities that exericsing the
tests do will cause files to change inside this data directory. If
we do not make it test specific then we run into concurrency issues.
2013-08-27 06:47:26 -04:00
Donald Stufft
c3f7a9cc3d
Hide assert_all_changes from the traceback
2013-08-27 06:47:25 -04:00
Donald Stufft
17cfdc5b62
Refactor tests.lib into classes that can be used to modify state
2013-08-27 06:41:55 -04:00
Donald Stufft
daa50ff459
Don't write bytecode when running tests
...
Writing bytecode can mess up the detection of updated files and
directories
2013-08-22 02:44:21 -04:00
Donald Stufft
41bf2b8046
Revert "Use an explicit keyword"
...
This reverts commit 47faefcd8e
.
2013-08-22 01:54:29 -04:00
Donald Stufft
555322b432
Note that things break horribly without a temp path
2013-08-22 01:51:14 -04:00
Donald Stufft
319a73cb0a
Fix the comment to be accurate
2013-08-22 01:50:10 -04:00
Donald Stufft
47faefcd8e
Use an explicit keyword
2013-08-22 01:48:58 -04:00
Donald Stufft
781fe907de
We don't need to clear the virtualenv, it's a brand new directory
2013-08-22 01:44:45 -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
30934fede2
Refactor tests.lib.path a bit
...
* Add a .join() method for a more explicit joining than /
* Return values where possible
* Make glob an iterator
* Remove checks for versions of Python we don't support
* Add a write() function to make it simple to write some text
into a file
* Add a touch() function to make it simple to ensure a file
exists
2013-08-21 22:40:09 -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
Jorge Niedbalski R
ebc40a16bf
Merge from upstream project
2013-08-12 11:20:15 -07:00
Marcus Smith
d3cbb3f606
fix up the bundle support
2013-08-07 00:13:47 -07:00
Marcus Smith
3e8924a7ec
setuptools upgrade tests
2013-07-27 00:58:56 -07:00
Jorge Niedbalski
abf27b5bd2
[tests] added test for subdirectory editable options
2013-07-24 12:25:35 -03:00
Marcus Smith
813ab9da2e
user site fix for windows tests; was broke recently when the 2 TestPipEnvironment classes were consolidated into one
2013-07-09 23:55:23 -07:00
Marcus Smith
ff1a79381a
test changes due to virtualenv not using distribute
2013-06-13 22:43:26 -07:00
Marcus Smith
2e2ce0f4e9
break up tests dir into data, unit tests, and functional tests
2013-05-29 13:41:12 -07:00