summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/loader.py
Commit message (Collapse)AuthorAgeFilesLines
* unittest TestLoader test discovery filename matching done in a method. This ↵Michael Foord2010-06-051-20/+24
| | | | makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation.
* Issue 8547 - detecting and reporting that modules have been imported from ↵Michael Foord2010-05-071-1/+14
| | | | the wrong location under test discovery.
* revert r80932; it breaks windowsBenjamin Peterson2010-05-071-14/+1
|
* Issue 8547 - detecting and reporting that modules have been imported from ↵Michael Foord2010-05-071-1/+14
| | | | the wrong location under test discovery.
* Fix module directory finding logic for dotted paths in unittest test discovery.Michael Foord2010-04-061-1/+13
|
* Add tests for cmp_to_key.Raymond Hettinger2010-04-041-11/+1
| | | | | | Adopt PEP 8 compliant function name. Factor-out existing uses cmp_to_key. Update documentation to use internal pointers instead of external resource.
* Support dotted module names for test discovery paths in unittest. Issue 7780.Michael Foord2010-04-031-4/+23
|
* Removing Python 2.3 compatibility code from unittest.Michael Foord2010-03-221-5/+1
|
* Issue 7815. __unittest in module globals trims frames from reported ↵Michael Foord2010-03-221-0/+2
| | | | stacktraces in unittest.
* Change order of arguments in a unittest function.Michael Foord2010-03-211-4/+4
|
* A faulty load_tests in a test module no longer halts test discovery. A ↵Michael Foord2010-03-211-7/+21
| | | | placeholder test, that reports the failure, is created instead.
* unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.Michael Foord2010-02-061-1/+2
|
* Test discovery in unittest will only attempt to import modules that are ↵Michael Foord2009-09-131-15/+44
| | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
* unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵Michael Foord2009-09-131-2/+2
| | | | attribute. Issue 6866.
* split unittest.py into a packageBenjamin Peterson2009-07-191-0/+234