Bruno Oliveira
c73abf81db
Avoid importing TestFailure at the top level
...
This will make pytest-3.0 emit a warning:
cannot collect test class 'TestFailure' because it has a __init__ constructor
2016-07-28 21:36:45 -03:00
Donald Stufft
3b3978b994
Merge pull request #3284 from ncoghlan/pep376-installer-file
...
Record pip in INSTALLER file
2016-01-19 10:41:08 -05:00
Jeff Barber
24a5cc6a42
Fix for issue #2834 with test
2016-01-03 17:38:36 -05:00
Nick Coghlan
a925c88ed6
Record pip in INSTALLER file
2015-12-04 19:22:19 +10:00
Domen Kožar
e14a66f1b9
Support --prefix argument to install command.
...
There was no way to override prefix for an installation for wheels
previously. The default it whatever sys.prefix points to.
2015-11-22 19:13:51 +01:00
Robert Collins
62041d3ca8
Cleanup now use_wheel is the default.
...
There were a bunch of tests passing use_wheel unnecessarily, this
makes the change to remove use_wheel larger than it needs to be.
2015-04-20 20:12:03 +12:00
Donald Stufft
a88bc0de73
Send log messages >= logging.WARNING to stderr
2015-04-06 23:11:16 -04:00
Matej Stuchlik
c5024dc851
Mark tests requiring Internet access
2015-01-15 00:53:15 +01:00
Matt Robenolt
334af19e7c
Better ignore syntaxerror stack traces in wheels
...
This already got stripped just fine for non-wheel installs, but for
wheels, it only stripped the lined where `SyntaxError` was present
leaving the rest of the stacktrace.
2014-10-01 00:12:07 -07:00
Berker Peksag
eee2334c92
Silence byte compile errors when installation succeed.
...
Fixes #1873 .
2014-08-21 16:40:02 +03:00
Marcus Smith
3d64db281b
merge 1.5.X into develop
2014-05-26 15:06:36 -07:00
Marcus Smith
3066157cc3
when installing from wheel files, parse the filename to build the requirement
2014-05-25 21:00:39 -07:00
Marcus Smith
8d37e2abcf
turn on --user tests for pypy
2014-03-29 09:48:12 -07: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
Matthew Iversen
b26d91c880
Ensure wheel-Version is compatible with pip
2014-02-19 20:01:22 -05:00
Matthew Iversen
6cd145ab62
Add unit test for check_compatibility
2014-02-18 15:21:18 +11:00
Matthew Iversen
1b6b537673
Fix tests to expect installation or not
2014-02-15 17:47:44 +11:00
Matthew Iversen
13f6c68f0c
Ensure wheel-Version is compatible with pip
2014-02-15 17:21:22 +11:00
Donald Stufft
9f027337a8
Use Flake8 on the test of pip's Python files
2014-01-28 19:47:58 -05:00
Marcus Smith
c2c1eaddc7
- have the basic wheel install test, use a basic wheel
...
- have a separate test for a wheel with headers
- skip the header test on pypy for now due to virtualenv bug
2013-12-08 14:05:08 -08:00
Marcus Smith
0017f1b1cb
use latest wheel from pypi when testing
2013-12-04 19:38:10 -08:00
Donald Stufft
7ec49dc2fb
Enable --[no-]compile which will compile or not compile pyc files
...
* Enables compilation for Wheel files
* Adds an easy command line for distutils/setuptools compilation
options
2013-11-21 23:19:15 -05:00
Donald Stufft
6dca500f69
Set the executable bit on files generated by distlib's ScriptMaker
2013-11-02 12:46:18 -04:00
Paul Moore
a7949308df
Added comments and reqordings based on code review
2013-11-01 17:28:35 +00:00
Paul Moore
b9f36c0c21
Tests for script generation
2013-11-01 09:57:25 +00:00
Donald Stufft
00c11deb25
Ensure that --root continues to work with Wheels
2013-10-31 08:49:23 -04:00
Marcus Smith
efaf0e7a53
remove unnecessary imports
2013-09-01 13:28:03 -07: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
487925ea3f
Isolate the tests from the shared data directory
2013-08-27 06:49:35 -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
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
ff1a79381a
test changes due to virtualenv not using distribute
2013-06-13 22:43:26 -07:00
Marcus Smith
60f8da5c41
4 more wheel tests
2013-06-06 19:11:43 -07:00
Marcus Smith
28298c413d
more functional/unit tests restructure
2013-05-29 13:41:13 -07:00