summaryrefslogtreecommitdiff
path: root/pkg_resources/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merged in embray/setuptools (pull request #167)Jason R. Coombs2016-01-161-6/+54
|\ | | | | | | Possible fix for #207
| * Sort __path__ entries for namespace packages according to their orderErik Bray2016-01-061-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in sys.path. This ensures that lookups in __path__ will be the same as sys.path resolution. This also adds a replace argument to Distribution.insert_on meant to be used with the replace argumen to WorkingSet.add. This ensures that new sys.path entries added via WorkingSet.add are inserted at the beginning, rather than appended to the end. This is necessary for consistency with the above change, and kind of makes more sense anyways. This means that if a Distribution is added to a WorkingSet, that replaces a different version of that Distribution, the new version of that Distribution will have its location first on sys.path.
| * Fixes the original root cause of #231, and re-enables the test when the ↵Erik Bray2015-12-311-6/+20
| | | | | | | | tempdir is a symlink (this does not explicitly test that /tmp itself is a symlink, but the effect is the same--only one of the path levels needs to be a symlink to reproduce this isssue)
* | Always use Python 3 version of mapJason R. Coombs2016-01-162-1/+5
|/
* Use six in pkg_resources.Jason R. Coombs2016-01-041-3/+2
| | | | | --HG-- branch : feature/issue-229
* Use the same technique in pkg_resources, relying on an 'extern' module to ↵Jason R. Coombs2015-12-311-2/+1
| | | | | | | resolve the conditional import. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-3/+1
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-313-20/+145
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Add test for regression on Python 3 when LANG=C and there is non-ascii in ↵Jason R. Coombs2015-12-011-1/+5
| | | | | | | | the metadata file before the version. Ref #469.
| * Rewrite test to use distutils' install_egg_info to generate the metadata.Jason R. Coombs2015-11-281-10/+11
| |
| * Rewrite test to simply create the egg_info.Jason R. Coombs2015-11-281-80/+35
| |
| * Rename test to match intention.Jason R. Coombs2015-11-281-1/+1
| |
| * Move test into pkg_resources testsJason R. Coombs2015-11-281-0/+96
| |
| * Add test capturing possible violation in expectation due to new Python ↵Jason R. Coombs2015-06-071-0/+16
| | | | | | | | 2.7.10 release. Ref #380.
| * Backed out changeset 6e045b2724d0 and 56d7ea3d42b2. Ref #307.Jason R. Coombs2015-03-201-10/+0
| |
| * Add test capturing failure to parse package names with hyphens. Ref #307Jason R. Coombs2015-03-201-0/+10
| |
| * Use pytest.raises for brevity and clarity of purpose.Jason R. Coombs2015-01-061-3/+2
| |
| * Use pytests parametrize to create separate tests for each specJason R. Coombs2015-01-061-6/+6
| |
| * Refactor for clarityJason R. Coombs2015-01-061-3/+2
| |
| * Equal signs are now allowed in entry point names.Jason R. Coombs2015-01-061-1/+1
| |
| * Restore support for printable characters in the entry point name. Fixes #327.Jason R. Coombs2015-01-061-0/+11
| |
| * Fix test failure on Python 2Jason R. Coombs2015-01-041-0/+2
| |
| * Add test capturing expectation when dependencies conflict during resolve. ↵Jason R. Coombs2015-01-041-0/+25
| | | | | | | | Fixes #281
| * Normalize whitespaceJason R. Coombs2015-01-041-4/+6
| |
| * Test the report methodJason R. Coombs2015-01-041-3/+3
| |
| * Add test for WorkingSet.find() when a conflict occurs.Jason R. Coombs2015-01-041-0/+16
| |
| * Add another assertion on the exception.Jason R. Coombs2015-01-041-1/+4
| |
| * Extract variableJason R. Coombs2015-01-041-4/+2
| |
| * Remove try/except/fail - Exceptions are failures by default.Jason R. Coombs2015-01-041-4/+2
| |
* | Merge with masterJason R. Coombs2015-01-031-1/+3
|/ | | | | --HG-- branch : feature/issue-229
* Moved test_resources and test_pkg_resources to pkg_resources package.Jason R. Coombs2015-01-033-0/+719