summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_sdist.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-171-12/+12
|
* 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
|
* Modified setuptools.test.environment.ZipEnvironment to not choke on a bypassedPhilip Thiem2013-12-071-1/+6
| | | | | | | | 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.
* For .svn legacy fallback, look for the files in the .svn not the directory.Philip Thiem2013-11-111-79/+70
| | | | | | | | | | | | | | | | (Fixed unexpected deprecation warning from prombredanne) Also removed the warning from fallback, only a deprecation warning is issued. Environment.py whitespacing Created a specialized command executor for tests in Environment.py Legacy Test in test_egg_info now supresses the deprecation warning. PythonPath is now explicitly controlled to allow setup.py test on clean python installations. *Fixes Issue #101* Moved some dummy svn tests from test_sdist to test_egg_info since they are egg_info tests. Downgraded a with statement in a test since we haven't offically dropped 2.4 support, however, maybe it is time. Added a test case to ensure no extranuous output on sdist with a simple dummy package without rev ctrl.
* Fixed the various tests that depended on fsencode.Philip Thiem2013-11-071-3/+79
| | | | | Added a test to run egg_info on a dummy SVN package. Added a second similar test that invokes the legacy code.
* Merge with defaultJason R. Coombs2013-10-301-1/+4
|\
| * Skip test when file system encoding is not suitable. Fixes #55 and ↵1.1.7Toshio Kuratomi2013-04-111-1/+4
| | | | | | | | Distribute #363.
* | Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-2/+62
|/ | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* Use unicode from compat moduleJason R. Coombs2013-06-171-2/+2
| | | | | | | --HG-- branch : distribute extra : rebase_source : c4dd03dba58146eed2f620cd6d6b7ab52ee9d109 extra : histedit_source : 02c194ea1c97e8aea64fd23d77efc1bade185c0a
* Update exceptions for Python 3 compatibilityJason R. Coombs2013-06-171-4/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : 354795c0a0b8a864583f2549ce869e719be265d2
* Remove unused importJason R. Coombs2013-06-181-4/+4
| | | | | --HG-- branch : distribute
* Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-60/+287
|\ | | | | | | | | --HG-- branch : distribute
| * don't decode in python 2.x. that's my oopsPhilip Thiem2013-02-161-4/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4b981d54c6a171d7a6500c6c62838d8c368ae0b1
| * There were some failing tests on windows. I assume this is a NTFS vs FAT orPhilip Thiem2013-02-161-6/+24
| | | | | | | | | | | | | | | | | | NT versus 9x things... Seemed odd. In any case. My filesystem is deifnitely NOT cp1252. --HG-- branch : distribute extra : rebase_source : c4d64aff6b811ba36bbf33cd4cf2a12f563a6880
| * Warn if filenames cannot be added to the filelist.stefan@epy2012-11-051-0/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9fdc3c28b097e191db384cd81319c7a4edccf52b
| * No longer decompose filename for comparison.Stefan H. Holek2012-11-051-2/+0
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 02265fdf50dbe58c41b98e575f1d0d71c95e4bcf
| * Rewrite tests for read_manifest.stefan@epy2012-11-051-20/+38
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 8e52687fae6a06e1421c51ddec62870ef7499676
| * Skip undecodable filenames in read_manifest as well.Stefan H. Holek2012-11-011-2/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2dda494b1a4758e84dde81cc61170acd0e55d2f2
| * Keep 'surrogateescape' when reading the manifest, to avoid breaking on bad ↵Stefan H. Holek2012-10-261-3/+6
| | | | | | | | | | | | | | | | input. --HG-- branch : distribute extra : rebase_source : 6f894cd508e73fae0ad02860654df5181055ba4d
| * Make sdist tests pass on Windows.Stefan H. Holek2012-10-261-8/+19
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9fb51372737224be8d5c50265b04a36f19543572
| * Update tests.Stefan H. Holek2012-10-251-99/+121
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 831e694725e5db1bc360298fbc4b7b58db836bdd
| * Fix two failing tests on Windows (paths separated by backslash didn't match ↵0.6.29Jason R. Coombs2012-10-211-2/+3
| | | | | | | | | | | | | | | | manifest paths separated by slash). --HG-- branch : distribute extra : rebase_source : f8cd5491fcfe18f687a67423bb8ccc43d3d76672
| * Use surrogateescape error handler when reading and writing the manifest. ↵Stefan H. Holek2012-10-171-44/+212
| | | | | | | | | | | | | | | | Refs #303. --HG-- branch : distribute extra : rebase_source : f0231cf87e2478f988f798dfe579f28e7561aeff
| * Revert 86d7748 drive-by commit because of unclear BBB consequences.Stefan H. Holek2012-10-151-26/+12
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2fb9a6ec09184e238551be4d0ea908e719badd27
* | Post-merge fixes for Python 3.Vinay Sajip2012-10-101-2/+1
|/ | | | | | --HG-- branch : distribute extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
* Read and write manifest in UTF-8 under Python 3. Fixes #303.Stefan H. Holek2012-10-081-0/+60
| | | | | | --HG-- branch : distribute extra : rebase_source : 609c654effd2711aa803f6a0e84013294026608f
* Make sure the manifest never contains decomposed UTF-8.Stefan H. Holek2012-10-081-3/+34
| | | | | | --HG-- branch : distribute extra : rebase_source : 0e0fb3beac56f66f12670ec69ebfd3996d12d912
* adds a test for pr #4Erik Bray2012-09-051-0/+79
--HG-- branch : distribute extra : rebase_source : 347b39fb279b7168490a2c62562b4223b6c419e2