Donald Stufft
0bc8aa5622
Style fixes for the latest flake8
2015-02-24 07:46:10 -05:00
Donald Stufft
c0e8753c6e
Don't check pip version in tests
2014-12-23 19:37:22 -05:00
Davidovich
97f3cebe1b
Do not use hardcoded slash separator for windows support
2014-12-16 21:43:34 -05:00
Donald Stufft
68c0b472a7
Run the unit tests before the integration tests
2014-06-30 20:00:35 -04:00
Donald Stufft
97d8bee705
Isolate our tests from the running user's configuration
2014-05-07 16:17:07 -04:00
Paul Moore
92c3a673fd
Fix tests on Windows, where Path objects were changing to strings mysteriously...
2014-04-28 15:38:39 +01:00
Donald Stufft
1e29f9eb6f
Cleanup after each test case
2014-02-10 13:01:52 -05:00
Donald Stufft
9f027337a8
Use Flake8 on the test of pip's Python files
2014-01-28 19:47:58 -05:00
Donald Stufft
6c36e77e16
Work around Python 3.2 import issues
2013-09-05 10:39:28 -04:00
Donald Stufft
3c733ca0f5
Fix the exclusion patterns
...
We need the docs directory for ``python setup.py``
2013-08-28 05:32:57 -04:00
Donald Stufft
37deb59853
shutil.ignore_patterns does not want trailing slashes
...
A trailing slash in a directory name is essentially a noop unless
the directory name itself contains a trailing slash.
2013-08-28 05:17:36 -04:00
Donald Stufft
2ab9d6bdfb
Ignore the directories that tox creates
2013-08-28 05:05:07 -04:00
Donald Stufft
4516a34e1c
Add an extra newline
2013-08-27 06:49:40 -04: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
86f5ebb4ca
Work around a Python 3.2 bug with pytest and pytest-xdist
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
9ed8c1acc7
Namespace the PipTestEnvironment inside the temporary directory
2013-08-27 06:47:26 -04:00
Donald Stufft
6b02bc7899
Use monkeypatch to force shutil to not use the fd functions
2013-08-27 06:47:26 -04:00
Donald Stufft
f70b2a187c
Use our classes from tests.lib.* in pytest fixtures
2013-08-27 06:41:55 -04:00
Donald Stufft
bd127f8aba
Shadow the built in tmpdir fixture to use our Path object
...
* Uses the same generation method as the built in tmpdir, simply
returns a different object type.
2013-08-27 06:41:55 -04:00