aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Mark failing tests as xfailJason R. Coombs2014-06-151-0/+3
| |
* | Remove unused variable and importJason R. Coombs2014-06-151-2/+0
| |
* | Activate more of the integration tests.Doug Hellmann2014-06-021-9/+9
| | | | | | | | | | | | | | Change-Id: Ic3cc25a02de71b94a08f0bf64e8d8b01b572a23b --HG-- extra : rebase_source : a49971d71570380f1ef51a88897d72328de337ed
* | Add integration tests.Doug Hellmann2014-06-021-0/+87
| | | | | | | | | | | | | | | | | | | | Set up integration tests that install packages to temporary directories. Change-Id: Iec90838fec961228fca24c0decc088de55303350 --HG-- extra : rebase_source : f5219f8411db4b79694a74659e22b0c0b1c771ab
* | Perform actual symlink detection; alternate approach to answer Pull Request #53.Jason R. Coombs2014-06-011-1/+15
|/ | | | | --HG-- extra : rebase_source : a70141cd6472cd8e4024be4037bfd89e4adcb396
* Add whitespace for readability.Jason R. Coombs2014-05-171-1/+1
|
* Must create files for tests, else they are remoed from manifestsJason R. Coombs2014-05-171-0/+3
|
* Must create files for tests, else they are remoed from manifestsPhilip Thiem2014-05-171-6/+9
| | | | | --HG-- extra : rebase_source : c22b55cde69bbf7fc6a075bcd8797017797c6225
* est_manifest_is_written_with_utf8_encoding should use the filelist's append, ↵Philip Thiem2014-05-171-1/+1
| | | | | | | NOT filelist.files.append --HG-- extra : rebase_source : cdf0df0a11b96a60c29c10483579e6e043a7fcd1
* Remove unused importJason R. Coombs2014-05-171-1/+0
|
* Convert quiet to a context manager, so its comment is no longer complaining ↵Jason R. Coombs2014-05-171-45/+16
| | | | and to simplify the code.
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-173-17/+16
|
* Merge in test changes from previous tryPhilip Thiem2014-05-171-8/+16
| | | | | --HG-- extra : rebase_source : 0dba3308549833dc7fc5b242e8ae3a4ec9f3c119
* Test should use the same high-level interface for appending filenames as the ↵Jason R. Coombs2014-05-151-1/+1
| | | | object itself will use when building the filelist. Ideally, FileList wouldn't expose this attribute at all.
* Extend docstring for test_write_manifest_skips_non_utf8_filenamesJason R. Coombs2014-05-151-1/+6
|
* Just suppress the spurious IndexError when it happens. Rely on the ↵Jason R. Coombs2014-05-051-3/+4
| | | | environments where the behavior doesn't fail until the upstream issue can be resolved. Fixes #201.
* Add test capturing failure when find_packages no longer follows symlinks. ↵Jason R. Coombs2014-05-031-0/+25
| | | | | | | Ref #195 --HG-- extra : amend_source : 4efa6b87d3acaefebdfcc953e78a452ffc1f160d
* Add test capturing overmatching in new find_packages. Ref #184.Jason R. Coombs2014-04-071-0/+11
|
* Skip this test because it now fails under Python 3.3 and earlier apparently ↵Jason R. Coombs2014-03-301-0/+4
| | | | due to a bug in the inspect module. Since the test passes under Python 3.4 and later, that should still serve as a suitable regression test.
* Add test for excludeJason R. Coombs2014-03-221-0/+5
|
* Created PEP420PackageFinder, whose .find method can be used to find any ↵Jason R. Coombs2014-03-221-16/+7
| | | | suitable directory.
* Check packages without deference to orderJason R. Coombs2014-03-161-5/+8
|
* Use py26compat for skipIfJason R. Coombs2014-03-161-6/+7
|
* Add support for PEP 420 namespace packages to find_packages()Wyatt Lee Baldwin2014-02-121-0/+38
| | | | | | | | | | | On Python 3.3+, `find_packages()` now considers any subdirectory of the start directory that's not a regular package (i.e., that doesn't have an `__init__.py`) to be a namespace package. The other way this supports PEP 420 is by making sure `__pycache__` directories are never added to the list of packages. Fixes issue #97
* Update test for Python 2.6 compatibilityJason R. Coombs2014-03-161-1/+1
|
* Add test for find_packages(include=)Jason R. Coombs2014-03-161-0/+10
| | | | | --HG-- extra : rebase_source : bee4238f4cd00fa8bd3104017f4caf234dcf0729
* Add unit tests for find_packagesWyatt Lee Baldwin2014-02-121-0/+72
| | | | | --HG-- extra : rebase_source : 75f5ce4d2fb9d0ccd7168739c23d9ea1eeeb9112
* Fix failing test on Windows3.2Jason R. Coombs2014-03-141-2/+3
|
* Backout b17e9a0ea116 and 50725de303ef, restoring Feature model. Fixes #161 ↵Jason R. Coombs2014-03-081-0/+84
| | | | | | | and re-opens #65. --HG-- extra : amend_source : f14bc0bf6c9f04e16d30ce0abf7bcb944f41ebea
* Clean some imports.Arfrever Frehtes Taifersar Arahesis2014-02-154-8/+14
|
* Remove import (missed in parent commit).Jason R. Coombs2014-02-091-1/+0
|
* Removed Features functionality. Fixes #65.Jason R. Coombs2014-02-091-83/+0
|
* Use io.open() instead of codecs.open().Arfrever Frehtes Taifersar Arahesis2014-02-071-4/+3
| | | | (builtins.open() is io.open() in Python 3.)
* Use readlines on StringIO. Ensure quiet_context returns rewound buffers.Jason R. Coombs2014-02-051-1/+3
|
* Rewrite merged tests to use context managersJason R. Coombs2014-02-051-19/+16
|
* Remove unused variableJason R. Coombs2014-02-051-1/+0
|
* Reindent according to TODO (indent was reserved to minimize the diff)Jason R. Coombs2014-02-051-15/+14
|
* Update global reference.Jason R. Coombs2014-02-051-2/+2
|
* Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵Jason R. Coombs2014-01-271-38/+103
| | | | for Distribute #323, so this backout restores that fix and also Fixes #141.
* Modified setuptools.test.environment.ZipEnvironment to not choke on a bypassedPhilip Thiem2013-12-074-13/+53
| | | | | | | | setUp. test_egg_info, test_sdist, and test_svn all had tests that needed to be bypassed when svn was not present. tests.py26compat contains a SkipIf decorator for skipping. This worked after ironing a few wrinkles. The conditions is evaluated and stored in test_svn._svn_check.
* Merge with 1.4.2Jason R. Coombs2013-12-011-1/+17
|\
| * 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
| |
* | Move the global import logic for test_multiproc_atexit into the test where ↵Jason R. Coombs2013-11-271-13/+9
| | | | | | | | it is used.
* | Reindent long lineJason R. Coombs2013-11-271-1/+2
| |
* | Remove redundant importsJason R. Coombs2013-11-271-2/+0
| |
* | Remove unused variable and clean whitespaceJason R. Coombs2013-11-271-2/+1
| |
* | backout 983513e397f3 now that contextlib and with statements are availableJason R. Coombs2013-11-271-52/+30
| |
* | Remove Python 2.5 compatibility in easy_install test setup.Jason R. Coombs2013-11-271-19/+15
| |
* | Remove easy_install.HAS_USER_SITE and just defer to site.ENABLE_USER_SITE.Jason R. Coombs2013-11-271-4/+4
| |