summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* Conditionally remove __PYVENV_LAUNCHER__Jason R. Coombs2015-06-231-1/+1
|
* Fix test failure when __PYVENV_LAUNCHER__ is set. Fixes #396.Jason R. Coombs2015-06-131-2/+4
|
* 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-031-1/+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
|
* Use unittest.mock from standard library instead of external mock with Python ↵Arfrever Frehtes Taifersar Arahesis2015-01-151-1/+4
| | | | >=3.3.
* 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-041-9/+3
|
* It appears as if Python 2.6 gets its warnings on a different pipe.Jason R. Coombs2015-01-031-2/+6
|
* Remove dependence of the script on its own file, but instead generate the ↵Jason R. Coombs2015-01-031-6/+12
| | | | necessary file in a temporary directory.
* Rewrite commentJason R. Coombs2015-01-031-3/+2
|
* Extract variable for clearer assertion.Jason R. Coombs2015-01-031-5/+2
|
* Pull logic out of the contextJason R. Coombs2015-01-031-7/+8
|
* Use contexts.quiet for stdout/stderr trappingJason R. Coombs2015-01-031-8/+5
|
* Use mock to patch sys.platformJason R. Coombs2015-01-031-3/+1
|
* Use mock to patch sys.modulesJason R. Coombs2015-01-031-9/+2
|
* Test is passing when LC_CTYPE isn't present. According to the original ↵Jason R. Coombs2015-01-031-1/+1
| | | | ticket, Distribute 103, this test was only failing for "C" and "POSIX", so only expect the failure there.
* Rewrite skip/xfailJason R. Coombs2015-01-031-17/+19
|
* Restore missing importJason R. Coombs2015-01-031-1/+1
|
* Moved TestScriptHeader tests to more appropriate module.Jason R. Coombs2015-01-031-1/+69
|
* Combine DALS implementations in textwrap module.Jason R. Coombs2015-01-021-8/+3
|
* Convert remaining tests in test_easy_install to pytest.Jason R. Coombs2015-01-021-16/+15
|