summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_uninstall.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up mocking of stdout and stdin in tests.?ric Araujo2011-11-121-7/+2
| | | | In addition, update the create module to use logging.
* Clean up some idioms in tests.?ric Araujo2011-11-121-7/+1
| | | | | | | | | | | - Use os.makedirs (I had forgotten about it!) - Let TempdirManager.write_file call os.path.join for us - Let TempdirManager.tearDown go back to the previous working directory for us - Use a skip instead of hiding a method with an underscore - Reset the finalized attribute of command objects before calling ensure_finalized a second time, so that it?s not a no-op - Address pyflakes warnings
* Fix return code of ?pysetup run COMMAND? (closes #12222)?ric Araujo2011-10-061-14/+16
|
* Minor: improve one test name, address pyflakes warnings?ric Araujo2011-10-061-6/+4
|
* Add test that was promised in a comment but not actually written?ric Araujo2011-10-061-2/+7
|
* Fix incorrect test.?ric Araujo2011-10-061-2/+3
| | | | | | | | | | The distutils2.install.remove function (a.k.a. the uninstall feature) takes a path argument to allow client code to use custom directories instead of sys.path. The test used to give self.root_dir as path, which corresponds to a prefix option, but prefix is not on sys.path, it?s only the base directory used to compute the stdlib and site-packages directory paths. The test now gives a valid site-packages path to the function.
* Change one name in test_uninstall to avoid confusion.?ric Araujo2011-10-061-12/+12
| | | | | | | install_lib may be the name of a module, a command or an option, so I find it clearer to use site_packages to refer to a string object containing the path of the site-packages directory created in a temporary directory during tests.
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-30/+71
|
* fix pysetup testsTarek Ziade2011-03-131-1/+1
|
* [mq]: commandlineTarek Ziade2011-02-201-8/+3
|
* raise if the distribution is not found. also disable cache for testingGael Pasgrimaud2011-01-291-0/+7
|
* first implementation of the remove() methodGael Pasgrimaud2011-01-291-0/+86