Undocumented
Method make_case Undocumented
Method test___init___short Undocumented
Method test__init____handlers Undocumented
Method test__init____handlers_last_resort Undocumented
Method test_run_with_result Undocumented
Method test_run_no_result_manages_new_result Undocumented
Method test__run_core_called Undocumented
Method test__run_prepared_result_does_not_mask_keyboard Undocumented
Method test__run_user_calls_onException Undocumented
Method test__run_user_can_catch_Exception Undocumented
Method test__run_prepared_result_uncaught_Exception_raised Undocumented
Method test__run_prepared_result_uncaught_Exception_triggers_error Undocumented
Method test__run_user_uncaught_Exception_from_exception_handler_raised Undocumented
Method test__run_user_returns_result Undocumented
Method test__run_one_decorates_result Undocumented
Method test__run_prepared_result_calls_start_and_stop_test Undocumented
Method test__run_prepared_result_calls_stop_test_always Undocumented

Inherited from TestCase:

Instance Variable exception_handlers Exceptions to catch from setUp, runTest and tearDown. This list is able to be modified at any time and consists of (exception_class, handler(case, result, exception_value)) pairs.
Instance Variable force_failure Force testtools.RunTest to fail the test after the test has completed.
Class Variable run_tests_with A factory to make the RunTest to run tests with. Defaults to RunTest. The factory is expected to take a test case and an optional list of exception handlers.
Method __init__ Construct a TestCase.
Method __eq__ Undocumented
Method __repr__ Undocumented
Method addDetail Add a detail to be reported with this test's outcome.
Method getDetails Get the details dict that will be reported with this test's outcome.
Method patch Monkey-patch 'obj.attribute' to 'value' while the test is running.
Method shortDescription Undocumented
Method skipTest Cause this test to be skipped.
Method addCleanup Add a cleanup function to be called after tearDown.
Method addOnException Add a handler to be called when an exception occurs in test code.
Method assertEqual Assert that 'expected' is equal to 'observed'.
Method assertIn Assert that needle is in haystack.
Method assertIsNone Assert that 'observed' is equal to None.
Method assertIsNotNone Assert that 'observed' is not equal to None.
Method assertIs Assert that 'expected' is 'observed'.
Method assertIsNot Assert that 'expected' is not 'observed'.
Method assertNotIn Assert that needle is not in haystack.
Method assertIsInstance Undocumented
Method assertRaises No summary
Method assertThat Assert that matchee is matched by matcher.
Method addDetailUniqueName Add a detail to the test, but ensure it's name is unique.
Method expectThat Check that matchee is matched by matcher, but delay the assertion failure.
Method defaultTestResult Undocumented
Method expectFailure Check that a test fails in a particular way.
Method getUniqueInteger Get an integer unique to this test.
Method getUniqueString Get a string unique to this test.
Method onException Called when an exception propogates from test code.
Method run Undocumented
Method useFixture Use fixture in a test case.
Method setUp Undocumented
Method tearDown Undocumented
Method _formatTypes Format a class or a bunch of classes for display in an error.
Method _add_reason Undocumented
Method _matchHelper Undocumented
Static Method _report_error Undocumented
Static Method _report_expected_failure Undocumented
Static Method _report_failure Undocumented
Static Method _report_skip Undocumented
Method _report_traceback Undocumented
Static Method _report_unexpected_success Undocumented
Method _run_setup Run the setUp function for this test.
Method _run_teardown Run the tearDown function for this test.
Method _get_test_method Undocumented
Method _run_test_method Run the test method for this test.
def make_case(self):
Undocumented
def test___init___short(self):
Undocumented
def test__init____handlers(self):
Undocumented
def test__init____handlers_last_resort(self):
Undocumented
def test_run_with_result(self):
Undocumented
def test_run_no_result_manages_new_result(self):
Undocumented
def test__run_core_called(self):
Undocumented
def test__run_prepared_result_does_not_mask_keyboard(self):
Undocumented
def test__run_user_calls_onException(self):
Undocumented
def test__run_user_can_catch_Exception(self):
Undocumented
def test__run_prepared_result_uncaught_Exception_raised(self):
Undocumented
def test__run_prepared_result_uncaught_Exception_triggers_error(self):
Undocumented
def test__run_user_uncaught_Exception_from_exception_handler_raised(self):
Undocumented
def test__run_user_returns_result(self):
Undocumented
def test__run_one_decorates_result(self):
Undocumented
def test__run_prepared_result_calls_start_and_stop_test(self):
Undocumented
def test__run_prepared_result_calls_stop_test_always(self):
Undocumented
API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28.