aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_packageindex.py
Commit message (Collapse)AuthorAgeFilesLines
* Use RawConfigParser instead of SafeConfigParser in PyPIConfig class. ↵Jason R. Coombs2015-12-141-1/+1
| | | | Interpolated values are no longer supported. Since backward compatibility could not be retained in either case, prefer the simpler, more direct format. Ref #442.
* Use SafeConfigParser in PyPIConfig file. Allows percent signs to be ↵Jason R. Coombs2015-12-141-1/+1
| | | | specified using two percent signs. Fixes #442.
* Add test capturing InterpolationSyntaxError on Python 3. Ref #442Jason R. Coombs2015-12-141-1/+1
|
* Add test capturing InterpolationSyntaxError on Python 3 and KeyError on Python 2Jason R. Coombs2015-12-141-0/+21
|
* Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-041-8/+4
|
* Remove additional references to unittest.Jason R. Coombs2015-01-021-3/+1
|
* Use tmpdir in test_local_index for brevity and isolation.Jason R. Coombs2015-01-021-9/+6
|
* Remove dependence on unittest in favor of pytest for test_packgeindexJason R. Coombs2015-01-021-27/+36
|
* Reorganize importsJason R. Coombs2015-01-021-4/+4
|
* Remove unused importsJason R. Coombs2015-01-011-1/+1
|
* Moved imports to the top, made them compatible with Python 2, and added a ↵Jason R. Coombs2013-12-011-4/+6
| | | | docstring.
* Adding test capturing #116Jason R. Coombs2013-12-011-0/+14
|
* Add test to exercise the basic functionality of _vcs_split_rev_from_urlJason R. Coombs2013-07-241-0/+9
|
* Update test to reflect the copy of the hash name stored because pypy doesn't ↵Jason R. Coombs2013-07-221-5/+1
| | | | implement the undocumented .name attribute on HASH objects.
* Add compatibility for Python 2.4 when querying the hash name. Fixes #440.9.6Jason R. Coombs2013-07-171-1/+15
|
* Use 'is_valid' instead of simply 'valid' or 'check', which are less clear ↵0.9.3Jason R. Coombs2013-07-151-3/+3
| | | | about the purpose of the method. Fixes AttributeError introduces in 0.9.2. Fixes #42.
* Added a couple of additional tests, including one capturing #42.Jason R. Coombs2013-07-151-0/+14
|
* Added a test to prove the basic usage of content checksJason R. Coombs2013-07-151-0/+11
|
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-10/+12
|\ | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| * Post-merge fixes for Python 3.Vinay Sajip2012-10-101-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
| * Merge with upstreamJason R. Coombs2013-06-181-19/+41
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * | Fixed some bugs - tests now all pass under Python 3.3.Vinay Sajip2011-06-211-1/+1
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3498bfdc0d4c15e4276673b52e924c461ca353f0
| * | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-9/+13
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | Update some URLs.Arfrever Frehtes Taifersar Arahesis2013-06-111-1/+1
| | |
* | | Update test to work with latest SSL-enabled URL opening technique.Jason R. Coombs2013-05-191-10/+6
| | |
* | | Updated references in tests to refer to setuptools in favor of distributeJason R. Coombs2013-03-191-1/+1
| |/ |/| | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : rebase_source : 1ffe834b5ecad0e5fd0ae44cb63e6541d9006004
* | Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-9/+9
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
* | The error message changed in Python 3.3.Lennart Regebro2012-08-221-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 107ac0ce6d98f4b17f31a6f4c006b1ae2e21381b
* | Don't raise when exception is caughtJason R. Coombs2012-07-221-0/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9da60528c7ace0a59bf1d92c6e155bba2e11ef18
* | MergeJason R. Coombs2012-07-221-7/+6
|\ \ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c4ea7aaf7256ffbb49843e9610515a08a76daa63
| * | Update this test again to ensure it's trapping the expected exception ↵Jason R. Coombs2012-07-221-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | (DistutilsError) and ensuring that it captures the expected error messages. --HG-- branch : distribute extra : rebase_source : b66947d43758f4cbea407043dfbeffdf3aaf9b01
* | | Expand error message to help detect why this test fails on travisJason R. Coombs2012-07-221-4/+4
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9182fc8c4544cde849fdac373b558f9078af1254
* | | MergeJason R. Coombs2012-05-181-2/+8
|\| | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 38f3eb8b52e65c02ab80e32b69bbf0f6ae8f9250
| * | Fixed failing test on Python 2.7.3 (and probably other recent patch releases)Jason R. Coombs2012-05-181-2/+8
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 02f36e126ad338fb224b0904cce9eca61269ea0a
* | | Skip another test that fails on Jython due to port 0 binding behavior.Jason R. Coombs2012-04-151-0/+4
|/ / | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7cd547b51b3db433b6f3040f01b1533065af3d96
* / Split one test 'bad urls' into several different tests (for clarity).Jason R. Coombs2012-04-151-4/+18
|/ | | | | | --HG-- branch : distribute extra : rebase_source : cdc7ce4fe999eb578df356ec6a2d44b65312d7d9
* Fixing #200agroszer2011-04-151-0/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 4446e76a0bcf2e968abce2020569aecbaab1df01
* fixed issue 163 : don't include md5 when comparing two distributions, and scanChristophe Combelles2010-05-191-5/+3
| | | | | | | | index links before external page links. --HG-- branch : distribute extra : rebase_source : d190057280e7cb27317eb4aa40e75f1c851ed6e5
* set-up infrastructure to write tests with a real http server, and reproduced ↵Christophe Combelles2010-05-191-0/+38
| | | | | | | | issue 163. --HG-- branch : distribute extra : rebase_source : dc3a9fb1663500c66febacbc2ede43eaa96c190e
* malformed urls in 2.7 are catched now - fixes #160Tarek Ziade2010-05-191-1/+11
| | | | | | --HG-- branch : distribute extra : rebase_source : de334e49e876c8ea88f738e03995a461ea669879
* removed assertTrue/assertFalse occurrencesTarek Ziade2010-05-191-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : b7e5bbfa9d90078fd763f728a5d57fb6bd3e3657
* fixed #20 - catching invalid URL error from httplibtarek2009-08-281-0/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : 6c6a92f65f6ac2d6d071ce525d0ef3e41167d59e
* fixed #16 and #18: BadStatusLine and ValueError in package_index.urlopentarek2009-08-261-0/+33
| | | | | | --HG-- branch : distribute extra : rebase_source : 6159cf23c0dc4effd40b525066266eefd292b96e
* Fix for http://bugs.python.org/setuptools/issue7 (backport from trunk)PJ Eby2008-08-211-0/+8
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065943
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-3/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* Changed setuptools.package_index.PackageIndex.open_url to include theJim Fulton2007-03-091-0/+19
url in the exception. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4054241