glusto.unittestable module¶
All things unittest.
Note
Unittestable is inherited by the Glusto class and not designed to be instantiated.
-
class
glusto.unittestable.
Unittestable
¶ Bases:
object
The class providing unittest functionality.
-
static
load_tests
(test_class, loader, ordered_testcases)¶ - Load specified tests in a order followed by the remaining tests in
- the test_class.
Parameters: - test_class (object) – The TestCase class object with test methods.
- loader (object) – The loader object passed from unittests to calling load_tests function.
- ordered_testcases (list) – list of testcase method names in order to be run.
Returns: Returns a unittest.TestSuite() containing loaded tests.
Note
This feature requires Python2.7 or higher
-
static