aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix TypeError for pytest.skip()Thomas Bechtold2015-04-051-1/+1
| | | | | | | | | | pytests skip() method doesn't have a 'reason' parameter. This fixes: TypeError: skip() got an unexpected keyword argument 'reason' --HG-- branch : fix-type-error-skip-reason
* Bypass the checking of site-packages when asserting not user install in ↵Jason R. Coombs2015-03-141-0/+10
| | | | site-packages. Fixes #360.
* Remove regression test for Distribute issue #318. The continuing relevance ↵Jason R. Coombs2015-03-141-20/+0
| | | | of this test is questionnaible, given that user installs of setuptools no longer imply user installs of other packages. Ref #360.
* Remove unnecessary blockJason R. Coombs2015-03-061-14/+11
|
* Extract sys.path and os.environ patching into install_target fixtureJason R. Coombs2015-03-061-10/+7
|
* Extract install_target as fixtureJason R. Coombs2015-03-061-12/+8
|
* Extract fixture for foo_package.Jason R. Coombs2015-03-061-9/+11
|
* Replace comment with docstring assertion.Jason R. Coombs2015-03-061-3/+4
|
* Move patching into the patch methods.Jason R. Coombs2015-03-061-8/+4
|
* Extract method for common behavior.Jason R. Coombs2015-03-061-9/+7
|
* Functions now mirror each other.Jason R. Coombs2015-03-061-4/+6
|
* Move related tests into proximityJason R. Coombs2015-03-061-7/+7
|
* Rename test to reflect implementation.Jason R. Coombs2015-03-061-1/+1
|
* Use pytest.importorskip.Jason R. Coombs2015-03-061-5/+1
|
* Update test to match new expectation following pull request #109. Refs #285.Jason R. Coombs2015-03-061-3/+5
|
* Re-use context available in sandbox.Jason R. Coombs2015-02-032-9/+1
|
* Add test capturing Attribute error. Ref #339.Jason R. Coombs2015-01-261-0/+11
|
* Move global into the only method where it's used.Jason R. Coombs2015-01-201-13/+13
|
* Use module namespace.Jason R. Coombs2015-01-201-27/+24
|
* Replace use of fix_jython_executable with CommandSpec invocation.Jason R. Coombs2015-01-201-4/+3
|
* Add test capturing regression in script creation in WindowsScriptWriter.Jason R. Coombs2015-01-201-0/+12
|
* Use the command spec as resolved by the best ScriptWriter.Jason R. Coombs2015-01-181-1/+2
|
* Adding test capturing failure where sys.executable loses backslashes on ↵Jason R. Coombs2015-01-181-0/+8
| | | | Windows. Ref #331.
* Remove unintended shebang. Fixes #333.Jason R. Coombs2015-01-181-1/+1
|
* Fix "AttributeError: 'TarFile' object has no attribute '__exit__'" with ↵Arfrever Frehtes Taifersar Arahesis2015-01-171-1/+4
| | | | Python 3.1.
* Fix failing test by reverting to author's original intent. Ref #317Jason R. Coombs2015-01-151-2/+2
|
* Just the path is expectedJason R. Coombs2015-01-151-4/+7
|
* Have mock_install_dir actually yield the file name. Ref #317.Jason R. Coombs2015-01-151-1/+1
|
* Skip integration tests when SSL is broken. Ref #317.Jason R. Coombs2015-01-151-0/+6
|
* Use unittest.mock from standard library instead of external mock with Python ↵Arfrever Frehtes Taifersar Arahesis2015-01-153-3/+12
| | | | >=3.3.
* Access os.environ[key], not os.environ['key']Slavek Kabrda2015-01-091-1/+1
|
* Add test capturing failure when the Exception is not pickleable. Ref #329.Jason R. Coombs2015-01-141-0/+12
|
* Adding test for non-exceptional condition.Jason R. Coombs2015-01-141-0/+6
|
* Add tests for new ExceptionSaverJason R. Coombs2015-01-141-0/+28
|
* Remove unused importJason R. Coombs2015-01-141-1/+1
|
* Merge with 11.3.1Jason R. Coombs2015-01-071-1/+1
|\
| * Add EntryPoint.resolve and deprecate most usage of EntryPoint.load. Removed ↵11.3Jason R. Coombs2015-01-051-1/+1
| | | | | | | | EntryPoint._load.
* | Fix failing test (now that expectation is different).Jason R. Coombs2015-01-041-1/+1
| |
* | Change the way string values are interpreted from build.executable - now ↵Jason R. Coombs2015-01-041-0/+9
| | | | | | | | they must be quoted or otherwise escaped suitable for parsing by shlex.split.
* | Add test capturing expectation around sys.executable having spaces in the name.Jason R. Coombs2015-01-041-0/+6
| |
* | Add test demonstrating how a custom launch command spec that could be passed ↵Jason R. Coombs2015-01-041-1/+19
| | | | | | | | as the script executable.
* | Extract method for handling non-ascii exe. Strip out excess whitespace from ↵Jason R. Coombs2015-01-041-2/+2
| | | | | | | | option handling.
* | Rename _gen_args to get_args (for consistency).Jason R. Coombs2015-01-041-1/+1
| |
* | Moved get_script_header into ScriptWriter classJason R. Coombs2015-01-041-10/+18
| |
* | Remove unused importsJason R. Coombs2015-01-041-2/+2
| |
* | Move decision logic about windows/header generation closer to ↵Jason R. Coombs2015-01-041-3/+3
|/ | | | install_scripts, as it doesn't appear to be used elsewhere.
* Remove try/except/fail - Exceptions are failures by default.Jason R. Coombs2015-01-043-29/+9
|
* Skip integration tests when one of the packages under test is already ↵Jason R. Coombs2015-01-041-0/+11
| | | | installed, as the installation will fail in that case.
* Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-042-16/+8
|
* It appears as if Python 2.6 gets its warnings on a different pipe.Jason R. Coombs2015-01-031-2/+6
|