From b624d75b18b6644adb1e783e1032cbf74da409e7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Wed, 1 Jul 2015 16:11:59 +1200 Subject: Update documentation --- ...ers.test_datastructures.TestMatchesSetwise.html | 555 +++++++++++++++++++++ 1 file changed, 555 insertions(+) create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html (limited to 'apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html') diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html new file mode 100644 index 0000000..3d36a0a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html @@ -0,0 +1,555 @@ + + + + + testtools.tests.matchers.test_datastructures.TestMatchesSetwise : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodassertMismatchWithDescriptionMatchingUndocumented
Methodtest_matchesUndocumented
Methodtest_mismatchesUndocumented
Methodtest_too_many_matchersUndocumented
Methodtest_too_many_valuesUndocumented
Methodtest_two_too_many_matchersUndocumented
Methodtest_two_too_many_valuesUndocumented
Methodtest_mismatch_and_too_many_matchersUndocumented
Methodtest_mismatch_and_too_many_valuesUndocumented
Methodtest_mismatch_and_two_too_many_matchersUndocumented
Methodtest_mismatch_and_two_too_many_valuesUndocumented
+ +

+ Inherited from TestCase: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableexception_handlersExceptions 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 Variableforce_failureForce testtools.RunTest to fail the test after the +test has completed.
Class Variablerun_tests_withA 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
MethodaddDetailAdd a detail to be reported with this test's outcome.
MethodgetDetailsGet the details dict that will be reported with this test's outcome.
MethodpatchMonkey-patch 'obj.attribute' to 'value' while the test is running.
MethodshortDescriptionUndocumented
MethodskipTestCause this test to be skipped.
MethodaddCleanupAdd a cleanup function to be called after tearDown.
MethodaddOnExceptionAdd a handler to be called when an exception occurs in test code.
MethodassertEqualAssert that 'expected' is equal to 'observed'.
MethodassertInAssert that needle is in haystack.
MethodassertIsNoneAssert that 'observed' is equal to None.
MethodassertIsNotNoneAssert that 'observed' is not equal to None.
MethodassertIsAssert that 'expected' is 'observed'.
MethodassertIsNotAssert that 'expected' is not 'observed'.
MethodassertNotInAssert that needle is not in haystack.
MethodassertIsInstanceUndocumented
MethodassertRaisesNo summary
MethodassertThatAssert that matchee is matched by matcher.
MethodaddDetailUniqueNameAdd a detail to the test, but ensure it's name is unique.
MethodexpectThatCheck that matchee is matched by matcher, but delay the assertion failure.
MethoddefaultTestResultUndocumented
MethodexpectFailureCheck that a test fails in a particular way.
MethodgetUniqueIntegerGet an integer unique to this test.
MethodgetUniqueStringGet a string unique to this test.
MethodonExceptionCalled when an exception propogates from test code.
MethodrunUndocumented
MethoduseFixtureUse fixture in a test case.
MethodsetUpUndocumented
MethodtearDownUndocumented
Method_formatTypesFormat a class or a bunch of classes for display in an error.
Method_add_reasonUndocumented
Method_matchHelperUndocumented
Static Method_report_errorUndocumented
Static Method_report_expected_failureUndocumented
Static Method_report_failureUndocumented
Static Method_report_skipUndocumented
Method_report_tracebackUndocumented
Static Method_report_unexpected_successUndocumented
Method_run_setupRun the setUp function for this test.
Method_run_teardownRun the tearDown function for this test.
Method_get_test_methodUndocumented
Method_run_test_methodRun the test method for this test.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + assertMismatchWithDescriptionMatching(self, value, matcher, description_matcher): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_matches(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatches(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_too_many_matchers(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_too_many_values(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_two_too_many_matchers(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_two_too_many_values(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_and_too_many_matchers(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_and_too_many_values(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_and_two_too_many_matchers(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_and_two_too_many_values(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file -- cgit v1.2.1