Package cherrypy :: Package test :: Module webtest :: Class ReloadingTestLoader
[hide private]
[frames] | no frames]

Class ReloadingTestLoader

source code

                object --+    
                         |    
unittest.loader.TestLoader --+
                             |
                            ReloadingTestLoader

Nested Classes [hide private]

Inherited from unittest.loader.TestLoader: suiteClass

Instance Methods [hide private]
 
loadTestsFromName(self, name, module=None)
Return a suite of all tests cases given a string specifier.
source code

Inherited from unittest.loader.TestLoader: discover, getTestCaseNames, loadTestsFromModule, loadTestsFromNames, loadTestsFromTestCase, sortTestMethodsUsing

Inherited from unittest.loader.TestLoader (private): _find_tests, _get_directory_containing_module, _get_module_from_name, _get_name_from_path, _match_path

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from unittest.loader.TestLoader: testMethodPrefix

Inherited from unittest.loader.TestLoader (private): _top_level_dir

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

loadTestsFromName(self, name, module=None)

source code 

Return a suite of all tests cases given a string specifier.

The name may resolve either to a module, a test case class, a test method within a test case class, or a callable object which returns a TestCase or TestSuite instance.

The method optionally resolves the names relative to a given module.

Overrides: unittest.loader.TestLoader.loadTestsFromName