From b624d75b18b6644adb1e783e1032cbf74da409e7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Wed, 1 Jul 2015 16:11:59 +1200 Subject: Update documentation --- apidocs/apidocs.css | 210 +++ apidocs/bootstrap.min.css | 5 + apidocs/classIndex.html | 34 + apidocs/index.html | 61 + apidocs/moduleIndex.html | 33 + apidocs/nameIndex.html | 244 ++++ apidocs/objects.inv | Bin 0 -> 22798 bytes apidocs/testtools.DecorateTestCaseResult.html | 223 ++++ apidocs/testtools.FixtureSuite.html | 131 ++ apidocs/testtools.PlaceHolder.html | 289 +++++ apidocs/testtools.TestCommand.html | 153 +++ apidocs/testtools.__init__.html | 109 ++ apidocs/testtools._compat2x.html | 89 ++ apidocs/testtools._compat3x.html | 89 ++ apidocs/testtools._spinner.DeferredNotFired.html | 62 + apidocs/testtools._spinner.NoResultError.html | 87 ++ apidocs/testtools._spinner.ReentryError.html | 87 ++ apidocs/testtools._spinner.Spinner.html | 369 ++++++ apidocs/testtools._spinner.StaleJunkError.html | 87 ++ apidocs/testtools._spinner.TimeoutError.html | 87 ++ apidocs/testtools._spinner.html | 178 +++ apidocs/testtools.assertions.html | 90 ++ apidocs/testtools.compat.html | 383 ++++++ apidocs/testtools.content.Content.html | 248 ++++ apidocs/testtools.content.StackLinesContent.html | 161 +++ apidocs/testtools.content.TracebackContent.html | 133 ++ apidocs/testtools.content.html | 311 +++++ apidocs/testtools.content_type.ContentType.html | 187 +++ apidocs/testtools.content_type.html | 70 + ...eferredruntest.AsynchronousDeferredRunTest.html | 415 ++++++ ...synchronousDeferredRunTestForBrokenTwisted.html | 281 ++++ ...deferredruntest.SynchronousDeferredRunTest.html | 245 ++++ ...ttools.deferredruntest.UncleanReactorError.html | 109 ++ ...testtools.deferredruntest._DeferredRunTest.html | 170 +++ apidocs/testtools.deferredruntest.html | 166 +++ apidocs/testtools.distutilscmd.html | 62 + apidocs/testtools.helpers.html | 156 +++ apidocs/testtools.html | 212 +++ apidocs/testtools.matchers.ContainedByDict.html | 98 ++ apidocs/testtools.matchers.ContainsDict.html | 98 ++ apidocs/testtools.matchers.DirContains.html | 130 ++ apidocs/testtools.matchers.MatchesDict.html | 94 ++ apidocs/testtools.matchers.MatchesPredicate.html | 144 +++ apidocs/testtools.matchers.__init__.html | 133 ++ apidocs/testtools.matchers._basic.Contains.html | 133 ++ .../testtools.matchers._basic.DoesNotContain.html | 130 ++ .../testtools.matchers._basic.DoesNotEndWith.html | 130 ++ ...testtools.matchers._basic.DoesNotStartWith.html | 130 ++ apidocs/testtools.matchers._basic.EndsWith.html | 133 ++ apidocs/testtools.matchers._basic.Equals.html | 90 ++ apidocs/testtools.matchers._basic.GreaterThan.html | 90 ++ apidocs/testtools.matchers._basic.Is.html | 90 ++ apidocs/testtools.matchers._basic.IsInstance.html | 131 ++ apidocs/testtools.matchers._basic.LessThan.html | 90 ++ .../testtools.matchers._basic.MatchesRegex.html | 131 ++ .../testtools.matchers._basic.NotAnInstance.html | 130 ++ apidocs/testtools.matchers._basic.NotEquals.html | 92 ++ apidocs/testtools.matchers._basic.SameMembers.html | 135 ++ apidocs/testtools.matchers._basic.StartsWith.html | 133 ++ ...esttools.matchers._basic._BinaryComparison.html | 153 +++ .../testtools.matchers._basic._BinaryMismatch.html | 132 ++ apidocs/testtools.matchers._basic.html | 195 +++ ...s.matchers._datastructures.MatchesListwise.html | 123 ++ ...ls.matchers._datastructures.MatchesSetwise.html | 113 ++ ....matchers._datastructures.MatchesStructure.html | 232 ++++ apidocs/testtools.matchers._datastructures.html | 105 ++ .../testtools.matchers._dict.DictMismatches.html | 132 ++ apidocs/testtools.matchers._dict.KeysEqual.html | 135 ++ .../testtools.matchers._dict.MatchesAllDict.html | 135 ++ .../testtools.matchers._dict._CombinedMatcher.html | 159 +++ .../testtools.matchers._dict._MatchCommonKeys.html | 153 +++ apidocs/testtools.matchers._dict._SubDictOf.html | 122 ++ apidocs/testtools.matchers._dict._SuperDictOf.html | 122 ++ apidocs/testtools.matchers._dict.html | 166 +++ ...testtools.matchers._doctest.DocTestMatches.html | 176 +++ ...esttools.matchers._doctest.DocTestMismatch.html | 132 ++ ...atchers._doctest._NonManglingOutputChecker.html | 123 ++ apidocs/testtools.matchers._doctest.html | 80 ++ ...tools.matchers._exception.MatchesException.html | 141 ++ apidocs/testtools.matchers._exception.Raises.html | 139 ++ apidocs/testtools.matchers._exception.html | 146 +++ ...esttools.matchers._filesystem.FileContains.html | 139 ++ ...ttools.matchers._filesystem.HasPermissions.html | 124 ++ .../testtools.matchers._filesystem.SamePath.html | 124 ++ ...tools.matchers._filesystem.TarballContains.html | 123 ++ apidocs/testtools.matchers._filesystem.html | 155 +++ ...s.matchers._higherorder.AfterPreprocessing.html | 164 +++ .../testtools.matchers._higherorder.AllMatch.html | 131 ++ .../testtools.matchers._higherorder.Annotate.html | 154 +++ .../testtools.matchers._higherorder.AnyMatch.html | 131 ++ ....matchers._higherorder.MatchedUnexpectedly.html | 132 ++ ...testtools.matchers._higherorder.MatchesAll.html | 135 ++ ...testtools.matchers._higherorder.MatchesAny.html | 131 ++ ...ttools.matchers._higherorder.MismatchesAll.html | 132 ++ apidocs/testtools.matchers._higherorder.Not.html | 131 ++ ...ls.matchers._higherorder.PostfixedMismatch.html | 127 ++ ...ols.matchers._higherorder.PrefixedMismatch.html | 127 ++ ...s._higherorder._MatchesPredicateWithParams.html | 148 +++ apidocs/testtools.matchers._higherorder.html | 125 ++ apidocs/testtools.matchers._impl.Matcher.html | 118 ++ apidocs/testtools.matchers._impl.Mismatch.html | 167 +++ ...testtools.matchers._impl.MismatchDecorator.html | 156 +++ .../testtools.matchers._impl.MismatchError.html | 131 ++ apidocs/testtools.matchers._impl.html | 89 ++ apidocs/testtools.matchers.html | 176 +++ apidocs/testtools.monkey.MonkeyPatcher.html | 187 +++ apidocs/testtools.monkey.html | 95 ++ apidocs/testtools.run.TestProgram.html | 176 +++ apidocs/testtools.run.TestToolsTestRunner.html | 131 ++ apidocs/testtools.run.html | 131 ++ apidocs/testtools.runtest.MultipleExceptions.html | 83 ++ apidocs/testtools.runtest.RunTest.html | 373 ++++++ apidocs/testtools.runtest.html | 97 ++ apidocs/testtools.tags.TagContext.html | 133 ++ apidocs/testtools.tags.html | 70 + apidocs/testtools.testcase.ExpectedException.html | 146 +++ apidocs/testtools.testcase.Nullary.html | 133 ++ apidocs/testtools.testcase.TestCase.html | 1164 +++++++++++++++++ apidocs/testtools.testcase.TestSkipped.html | 62 + apidocs/testtools.testcase.WithAttributes.html | 94 ++ apidocs/testtools.testcase._ExpectedFailure.html | 64 + apidocs/testtools.testcase._UnexpectedSuccess.html | 64 + apidocs/testtools.testcase.html | 349 +++++ apidocs/testtools.testresult.CopyStreamResult.html | 211 +++ .../testtools.testresult.StreamResultRouter.html | 307 +++++ apidocs/testtools.testresult.TestByTestResult.html | 363 ++++++ apidocs/testtools.testresult.TextTestResult.html | 272 ++++ apidocs/testtools.testresult.__init__.html | 85 ++ ...ools.testresult.doubles.ExtendedTestResult.html | 421 ++++++ .../testtools.testresult.doubles.LoggingBase.html | 87 ++ ...ools.testresult.doubles.Python26TestResult.html | 232 ++++ ...ools.testresult.doubles.Python27TestResult.html | 274 ++++ .../testtools.testresult.doubles.StreamResult.html | 154 +++ apidocs/testtools.testresult.doubles.html | 90 ++ apidocs/testtools.testresult.html | 98 ++ ...estresult.real.ExtendedToOriginalDecorator.html | 620 +++++++++ ....testresult.real.ExtendedToStreamDecorator.html | 575 +++++++++ .../testtools.testresult.real.MultiTestResult.html | 605 +++++++++ .../testtools.testresult.real.StreamFailFast.html | 183 +++ .../testtools.testresult.real.StreamResult.html | 220 ++++ .../testtools.testresult.real.StreamSummary.html | 338 +++++ .../testtools.testresult.real.StreamTagger.html | 179 +++ .../testtools.testresult.real.StreamToDict.html | 250 ++++ ....testresult.real.StreamToExtendedDecorator.html | 236 ++++ .../testtools.testresult.real.StreamToQueue.html | 252 ++++ apidocs/testtools.testresult.real.Tagger.html | 202 +++ apidocs/testtools.testresult.real.TestControl.html | 131 ++ apidocs/testtools.testresult.real.TestResult.html | 541 ++++++++ ...ttools.testresult.real.TestResultDecorator.html | 485 +++++++ ...testresult.real.ThreadsafeForwardingResult.html | 586 +++++++++ ...s.testresult.real.TimestampingStreamResult.html | 179 +++ apidocs/testtools.testresult.real.UTC.html | 131 ++ ...testtools.testresult.real._StringException.html | 175 +++ apidocs/testtools.testresult.real.html | 267 ++++ apidocs/testtools.tests.__init__.html | 87 ++ .../testtools.tests.helpers.FullStackRunTest.html | 167 +++ apidocs/testtools.tests.helpers.LoggingResult.html | 420 ++++++ apidocs/testtools.tests.helpers.html | 141 ++ apidocs/testtools.tests.html | 185 +++ apidocs/testtools.tests.matchers.__init__.html | 87 ++ ...sts.matchers.helpers.TestMatchersInterface.html | 153 +++ apidocs/testtools.tests.matchers.helpers.html | 70 + apidocs/testtools.tests.matchers.html | 135 ++ ...ts.matchers.test_basic.DoesNotEndWithTests.html | 379 ++++++ ....matchers.test_basic.DoesNotStartWithTests.html | 379 ++++++ ...ls.tests.matchers.test_basic.EndsWithTests.html | 467 +++++++ ....tests.matchers.test_basic.StartsWithTests.html | 467 +++++++ ....matchers.test_basic.TestContainsInterface.html | 118 ++ ...ts.matchers.test_basic.TestEqualsInterface.html | 118 ++ ...tchers.test_basic.TestGreaterThanInterface.html | 118 ++ ...ls.tests.matchers.test_basic.TestHasLength.html | 118 ++ ...ers.test_basic.TestIsInstanceInterface.Foo.html | 62 + ...atchers.test_basic.TestIsInstanceInterface.html | 126 ++ ....tests.matchers.test_basic.TestIsInterface.html | 118 ++ ....matchers.test_basic.TestLessThanInterface.html | 118 ++ ...tests.matchers.test_basic.TestMatchesRegex.html | 118 ++ ...matchers.test_basic.TestNotEqualsInterface.html | 118 ++ ....tests.matchers.test_basic.TestSameMembers.html | 118 ++ ....test_basic.Test_BinaryMismatch.CustomRepr.html | 109 ++ ...ts.matchers.test_basic.Test_BinaryMismatch.html | 472 +++++++ apidocs/testtools.tests.matchers.test_basic.html | 162 +++ ...st_datastructures.TestContainsAllInterface.html | 118 ++ ...rs.test_datastructures.TestMatchesListwise.html | 335 +++++ ...ers.test_datastructures.TestMatchesSetwise.html | 555 ++++++++ ...tructures.TestMatchesStructure.SimpleClass.html | 87 ++ ...s.test_datastructures.TestMatchesStructure.html | 236 ++++ ...sttools.tests.matchers.test_datastructures.html | 129 ++ ...sts.matchers.test_dict.TestContainedByDict.html | 118 ++ ....tests.matchers.test_dict.TestContainsDict.html | 118 ++ ...s.matchers.test_dict.TestKeysEqualWithDict.html | 146 +++ ...s.matchers.test_dict.TestKeysEqualWithList.html | 143 +++ ...hers.test_dict.TestMatchesAllDictInterface.html | 118 ++ ...s.tests.matchers.test_dict.TestMatchesDict.html | 118 ++ ...ols.tests.matchers.test_dict.TestSubDictOf.html | 118 ++ apidocs/testtools.tests.matchers.test_dict.html | 122 ++ ...s.test_doctest.TestDocTestMatchesInterface.html | 118 ++ ...doctest.TestDocTestMatchesInterfaceUnicode.html | 118 ++ ...rs.test_doctest.TestDocTestMatchesSpecific.html | 382 ++++++ apidocs/testtools.tests.matchers.test_doctest.html | 102 ++ ...tion.TestMatchesExceptionInstanceInterface.html | 118 ++ ...xception.TestMatchesExceptionTypeInterface.html | 118 ++ ...n.TestMatchesExceptionTypeMatcherInterface.html | 118 ++ ...eption.TestMatchesExceptionTypeReInterface.html | 118 ++ ...atchers.test_exception.TestRaisesBaseTypes.html | 401 ++++++ ...chers.test_exception.TestRaisesConvenience.html | 357 ++++++ ...eption.TestRaisesExceptionMatcherInterface.html | 165 +++ ...atchers.test_exception.TestRaisesInterface.html | 143 +++ .../testtools.tests.matchers.test_exception.html | 149 +++ ...tests.matchers.test_filesystem.PathHelpers.html | 131 ++ ...s.matchers.test_filesystem.TestDirContains.html | 265 ++++ ...sts.matchers.test_filesystem.TestDirExists.html | 177 +++ ....matchers.test_filesystem.TestFileContains.html | 243 ++++ ...ts.matchers.test_filesystem.TestFileExists.html | 177 +++ ...atchers.test_filesystem.TestHasPermissions.html | 133 ++ ...ts.matchers.test_filesystem.TestPathExists.html | 155 +++ ...ests.matchers.test_filesystem.TestSamePath.html | 177 +++ ...tchers.test_filesystem.TestTarballContains.html | 155 +++ .../testtools.tests.matchers.test_filesystem.html | 132 ++ ...rs.test_higherorder.TestAfterPreprocessing.html | 143 +++ ...sts.matchers.test_higherorder.TestAllMatch.html | 118 ++ ...sts.matchers.test_higherorder.TestAnnotate.html | 165 +++ ...ers.test_higherorder.TestAnnotatedMismatch.html | 335 +++++ ...sts.matchers.test_higherorder.TestAnyMatch.html | 118 ++ ....test_higherorder.TestMatchersAnyInterface.html | 118 ++ ...s.test_higherorder.TestMatchesAllInterface.html | 118 ++ ...hers.test_higherorder.TestMatchesPredicate.html | 118 ++ ...higherorder.TestMatchesPredicateWithParams.html | 118 ++ ...matchers.test_higherorder.TestNotInterface.html | 118 ++ .../testtools.tests.matchers.test_higherorder.html | 181 +++ ...ools.tests.matchers.test_impl.TestMismatch.html | 357 ++++++ ...s.matchers.test_impl.TestMismatchDecorator.html | 379 ++++++ ...tests.matchers.test_impl.TestMismatchError.html | 423 ++++++ apidocs/testtools.tests.matchers.test_impl.html | 102 ++ ...ols.tests.test_assert_that.AssertThatTests.html | 270 ++++ ...ts.test_assert_that.TestAssertThatFunction.html | 583 +++++++++ ...ests.test_assert_that.TestAssertThatMethod.html | 583 +++++++++ apidocs/testtools.tests.test_assert_that.html | 102 ++ .../testtools.tests.test_compat.TestReraise.html | 357 ++++++ .../testtools.tests.test_compat.TestTextRepr.html | 533 ++++++++ ....tests.test_compat.TestUnicodeOutputStream.html | 550 ++++++++ ...ttools.tests.test_compat._FakeOutputStream.html | 109 ++ apidocs/testtools.tests.test_compat.html | 107 ++ ...esttools.tests.test_content.TestAttachFile.html | 423 ++++++ .../testtools.tests.test_content.TestContent.html | 819 ++++++++++++ ...s.tests.test_content.TestStackLinesContent.html | 423 ++++++ ...s.tests.test_content.TestStacktraceContent.html | 401 ++++++ ...ls.tests.test_content.TestTracebackContent.html | 357 ++++++ apidocs/testtools.tests.test_content.html | 112 ++ ....test_content_type.TestBuiltinContentTypes.html | 357 ++++++ ...ls.tests.test_content_type.TestContentType.html | 445 +++++++ apidocs/testtools.tests.test_content_type.html | 97 ++ ...esttools.tests.test_deferredruntest.AsText.html | 113 ++ ...s.tests.test_deferredruntest.MatchesEvents.html | 134 ++ ...s.test_deferredruntest.TestAssertFailsWith.html | 661 ++++++++++ ...redruntest.TestAsynchronousDeferredRunTest.html | 1123 ++++++++++++++++ ...st_deferredruntest.TestRunWithLogObservers.html | 573 +++++++++ ...rredruntest.TestSynchronousDeferredRunTest.html | 661 ++++++++++ ...esttools.tests.test_deferredruntest.X.Base.html | 369 ++++++ ...test_deferredruntest.X.BaseExceptionRaised.html | 563 ++++++++ ...ests.test_deferredruntest.X.ErrorInCleanup.html | 563 ++++++++ ....tests.test_deferredruntest.X.ErrorInSetup.html | 563 ++++++++ ...sts.test_deferredruntest.X.ErrorInTearDown.html | 563 ++++++++ ...s.tests.test_deferredruntest.X.ErrorInTest.html | 563 ++++++++ ...tests.test_deferredruntest.X.FailureInTest.html | 563 ++++++++ ...sts.test_deferredruntest.X.TestIntegration.html | 595 +++++++++ .../testtools.tests.test_deferredruntest.X.html | 105 ++ apidocs/testtools.tests.test_deferredruntest.html | 166 +++ ....tests.test_distutilscmd.SampleTestFixture.html | 109 ++ ...ls.tests.test_distutilscmd.TestCommandTest.html | 374 ++++++ apidocs/testtools.tests.test_distutilscmd.html | 97 ++ ...sts.test_fixturesupport.TestFixtureSupport.html | 462 +++++++ apidocs/testtools.tests.test_fixturesupport.html | 92 ++ ...sttools.tests.test_helpers.TestStackHiding.html | 374 ++++++ apidocs/testtools.tests.test_helpers.html | 92 ++ ...ttools.tests.test_monkey.MonkeyPatcherTest.html | 572 +++++++++ apidocs/testtools.tests.test_monkey.TestObj.html | 87 ++ ...esttools.tests.test_monkey.TestPatchHelper.html | 357 ++++++ apidocs/testtools.tests.test_monkey.html | 102 ++ ...ools.tests.test_run.SampleLoadTestsPackage.html | 109 ++ ...ools.tests.test_run.SampleResourcedFixture.html | 109 ++ ...testtools.tests.test_run.SampleTestFixture.html | 109 ++ apidocs/testtools.tests.test_run.TestRun.html | 572 +++++++++ apidocs/testtools.tests.test_run.html | 107 ++ ...testtools.tests.test_runtest.CustomRunTest.html | 165 +++ .../testtools.tests.test_runtest.TestRunTest.html | 687 ++++++++++ ...test_runtest.TestTestCaseSupportForRunTest.html | 467 +++++++ apidocs/testtools.tests.test_runtest.html | 102 ++ ...ls.tests.test_spinner.NeedsTwistedTestCase.html | 330 +++++ ...tools.tests.test_spinner.TestExtractResult.html | 617 +++++++++ ...ttools.tests.test_spinner.TestNotReentrant.html | 595 +++++++++ ...ttools.tests.test_spinner.TestRunInReactor.html | 1079 ++++++++++++++++ ...tests.test_spinner.TestTrapUnhandledErrors.html | 595 +++++++++ apidocs/testtools.tests.test_spinner.html | 112 ++ apidocs/testtools.tests.test_tags.TestTags.html | 511 ++++++++ apidocs/testtools.tests.test_tags.html | 92 ++ .../testtools.tests.test_testcase.Attributes.html | 627 +++++++++ ...s.test_testcase.TestAddCleanup.LoggingTest.html | 413 ++++++ ...sttools.tests.test_testcase.TestAddCleanup.html | 647 ++++++++++ ...sttools.tests.test_testcase.TestAssertions.html | 1354 ++++++++++++++++++++ ...sttools.tests.test_testcase.TestAttributes.html | 379 ++++++ ...tests.test_testcase.TestCloneTestWithNewId.html | 357 ++++++ ...s.test_testcase.TestDecorateTestCaseResult.html | 440 +++++++ ...ls.tests.test_testcase.TestDetailsProvided.html | 781 +++++++++++ ...testtools.tests.test_testcase.TestEquality.html | 357 ++++++ ...ttools.tests.test_testcase.TestErrorHolder.html | 555 ++++++++ ...ls.tests.test_testcase.TestExpectedFailure.html | 759 +++++++++++ .../testtools.tests.test_testcase.TestNullary.html | 401 ++++++ ...ttools.tests.test_testcase.TestOnException.html | 379 ++++++ ....tests.test_testcase.TestPatchSupport.Case.html | 335 +++++ ...tools.tests.test_testcase.TestPatchSupport.html | 450 +++++++ ...ttools.tests.test_testcase.TestPlaceHolder.html | 665 ++++++++++ ...tools.tests.test_testcase.TestRunTestUsage.html | 335 +++++ ...ools.tests.test_testcase.TestSetupTearDown.html | 401 ++++++ ...testtools.tests.test_testcase.TestSkipping.html | 687 ++++++++++ ...ools.tests.test_testcase.TestTestCaseSuper.html | 357 ++++++ ...ls.tests.test_testcase.TestUniqueFactories.html | 379 ++++++ ...ttools.tests.test_testcase.TestWithDetails.html | 357 ++++++ apidocs/testtools.tests.test_testcase.html | 187 +++ ...ools.tests.test_testresult.DetailsContract.html | 296 +++++ ...ols.tests.test_testresult.FallbackContract.html | 220 ++++ ...ols.tests.test_testresult.Python26Contract.html | 175 +++ ...ols.tests.test_testresult.Python27Contract.html | 274 ++++ ...tests.test_testresult.StartTestRunContract.html | 298 +++++ ...sttools.tests.test_testresult.TagsContract.html | 308 +++++ ...sult.TestAdaptedPython26TestResultContract.html | 285 ++++ ...sult.TestAdaptedPython27TestResultContract.html | 252 ++++ ...ts.test_testresult.TestAdaptedStreamResult.html | 252 ++++ ...st_testresult.TestBaseStreamResultContract.html | 143 +++ ...ests.test_testresult.TestByTestResultTests.html | 704 ++++++++++ ...st_testresult.TestCopyStreamResultContract.html | 143 +++ ...test_testresult.TestCopyStreamResultCopies.html | 396 ++++++ ...ols.tests.test_testresult.TestDetailsToStr.html | 489 +++++++ ..._testresult.TestDoubleStreamResultContract.html | 143 +++ ...st_testresult.TestDoubleStreamResultEvents.html | 401 ++++++ ..._testresult.TestExtendedTestResultContract.html | 318 +++++ ..._testresult.TestExtendedToOriginalAddError.html | 715 +++++++++++ ...t.TestExtendedToOriginalAddExpectedFailure.html | 853 ++++++++++++ ...estresult.TestExtendedToOriginalAddFailure.html | 806 ++++++++++++ ...t_testresult.TestExtendedToOriginalAddSkip.html | 737 +++++++++++ ...estresult.TestExtendedToOriginalAddSuccess.html | 693 ++++++++++ ...TestExtendedToOriginalAddUnexpectedSuccess.html | 693 ++++++++++ ...sult.TestExtendedToOriginalResultDecorator.html | 1089 ++++++++++++++++ ....TestExtendedToOriginalResultDecoratorBase.html | 643 ++++++++++ ...estExtendedToOriginalResultOtherAttributes.html | 583 +++++++++ ...t_testresult.TestExtendedToStreamDecorator.html | 379 ++++++ ...sult.TestExtendedToStreamDecoratorContract.html | 143 +++ ...ttools.tests.test_testresult.TestMergeTags.html | 401 ++++++ ....tests.test_testresult.TestMultiTestResult.html | 748 +++++++++++ ...est_testresult.TestMultiTestResultContract.html | 318 +++++ ....tests.test_testresult.TestNonAsciiResults.html | 823 ++++++++++++ ...testresult.TestNonAsciiResultsWithUnittest.html | 605 +++++++++ ..._testresult.TestPython26TestResultContract.html | 153 +++ ..._testresult.TestPython27TestResultContract.html | 186 +++ ...s.tests.test_testresult.TestStreamFailFast.html | 467 +++++++ ...test_testresult.TestStreamFailFastContract.html | 143 +++ ...s.test_testresult.TestStreamResultContract.html | 175 +++ ...sts.test_testresult.TestStreamResultRouter.html | 599 +++++++++ ..._testresult.TestStreamResultRouterContract.html | 143 +++ ...ls.tests.test_testresult.TestStreamSummary.html | 533 ++++++++ ...testresult.TestStreamSummaryResultContract.html | 143 +++ ...ols.tests.test_testresult.TestStreamTagger.html | 357 ++++++ ...s.test_testresult.TestStreamTaggerContract.html | 143 +++ ...ols.tests.test_testresult.TestStreamToDict.html | 423 ++++++ ...s.test_testresult.TestStreamToDictContract.html | 143 +++ ...st_testresult.TestStreamToExtendedContract.html | 252 ++++ ...sult.TestStreamToExtendedDecoratorContract.html | 143 +++ ...ls.tests.test_testresult.TestStreamToQueue.html | 401 ++++++ ....test_testresult.TestStreamToQueueContract.html | 143 +++ ...testtools.tests.test_testresult.TestTagger.html | 335 +++++ ...ools.tests.test_testresult.TestTestControl.html | 357 ++++++ ...tools.tests.test_testresult.TestTestResult.html | 511 ++++++++ ...sts.test_testresult.TestTestResultContract.html | 318 +++++ ...testresult.TestTestResultDecoratorContract.html | 318 +++++ ...s.tests.test_testresult.TestTextTestResult.html | 616 +++++++++ ...test_testresult.TestTextTestResultContract.html | 318 +++++ ..._testresult.TestThreadSafeForwardingResult.html | 621 +++++++++ ...ult.TestThreadSafeForwardingResultContract.html | 318 +++++ ...st_testresult.TestTimestampingStreamResult.html | 401 ++++++ apidocs/testtools.tests.test_testresult.html | 519 ++++++++ apidocs/testtools.tests.test_testsuite.Sample.html | 379 ++++++ ...testsuite.TestConcurrentStreamTestSuiteRun.html | 423 ++++++ ....test_testsuite.TestConcurrentTestSuiteRun.html | 401 ++++++ ...ools.tests.test_testsuite.TestFixtureSuite.html | 374 ++++++ ...tools.tests.test_testsuite.TestSortedTests.html | 401 ++++++ apidocs/testtools.tests.test_testsuite.html | 112 ++ ...tests.test_with_with.TestExpectedException.html | 511 ++++++++ apidocs/testtools.tests.test_with_with.html | 92 ++ ...ttools.testsuite.ConcurrentStreamTestSuite.html | 149 +++ .../testtools.testsuite.ConcurrentTestSuite.html | 171 +++ apidocs/testtools.testsuite.html | 199 +++ apidocs/testtools.utils.html | 63 + apidocs/undoccedSummary.html | 34 + 392 files changed, 104828 insertions(+) create mode 100644 apidocs/apidocs.css create mode 100644 apidocs/bootstrap.min.css create mode 100644 apidocs/classIndex.html create mode 100644 apidocs/index.html create mode 100644 apidocs/moduleIndex.html create mode 100644 apidocs/nameIndex.html create mode 100644 apidocs/objects.inv create mode 100644 apidocs/testtools.DecorateTestCaseResult.html create mode 100644 apidocs/testtools.FixtureSuite.html create mode 100644 apidocs/testtools.PlaceHolder.html create mode 100644 apidocs/testtools.TestCommand.html create mode 100644 apidocs/testtools.__init__.html create mode 100644 apidocs/testtools._compat2x.html create mode 100644 apidocs/testtools._compat3x.html create mode 100644 apidocs/testtools._spinner.DeferredNotFired.html create mode 100644 apidocs/testtools._spinner.NoResultError.html create mode 100644 apidocs/testtools._spinner.ReentryError.html create mode 100644 apidocs/testtools._spinner.Spinner.html create mode 100644 apidocs/testtools._spinner.StaleJunkError.html create mode 100644 apidocs/testtools._spinner.TimeoutError.html create mode 100644 apidocs/testtools._spinner.html create mode 100644 apidocs/testtools.assertions.html create mode 100644 apidocs/testtools.compat.html create mode 100644 apidocs/testtools.content.Content.html create mode 100644 apidocs/testtools.content.StackLinesContent.html create mode 100644 apidocs/testtools.content.TracebackContent.html create mode 100644 apidocs/testtools.content.html create mode 100644 apidocs/testtools.content_type.ContentType.html create mode 100644 apidocs/testtools.content_type.html create mode 100644 apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html create mode 100644 apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html create mode 100644 apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html create mode 100644 apidocs/testtools.deferredruntest.UncleanReactorError.html create mode 100644 apidocs/testtools.deferredruntest._DeferredRunTest.html create mode 100644 apidocs/testtools.deferredruntest.html create mode 100644 apidocs/testtools.distutilscmd.html create mode 100644 apidocs/testtools.helpers.html create mode 100644 apidocs/testtools.html create mode 100644 apidocs/testtools.matchers.ContainedByDict.html create mode 100644 apidocs/testtools.matchers.ContainsDict.html create mode 100644 apidocs/testtools.matchers.DirContains.html create mode 100644 apidocs/testtools.matchers.MatchesDict.html create mode 100644 apidocs/testtools.matchers.MatchesPredicate.html create mode 100644 apidocs/testtools.matchers.__init__.html create mode 100644 apidocs/testtools.matchers._basic.Contains.html create mode 100644 apidocs/testtools.matchers._basic.DoesNotContain.html create mode 100644 apidocs/testtools.matchers._basic.DoesNotEndWith.html create mode 100644 apidocs/testtools.matchers._basic.DoesNotStartWith.html create mode 100644 apidocs/testtools.matchers._basic.EndsWith.html create mode 100644 apidocs/testtools.matchers._basic.Equals.html create mode 100644 apidocs/testtools.matchers._basic.GreaterThan.html create mode 100644 apidocs/testtools.matchers._basic.Is.html create mode 100644 apidocs/testtools.matchers._basic.IsInstance.html create mode 100644 apidocs/testtools.matchers._basic.LessThan.html create mode 100644 apidocs/testtools.matchers._basic.MatchesRegex.html create mode 100644 apidocs/testtools.matchers._basic.NotAnInstance.html create mode 100644 apidocs/testtools.matchers._basic.NotEquals.html create mode 100644 apidocs/testtools.matchers._basic.SameMembers.html create mode 100644 apidocs/testtools.matchers._basic.StartsWith.html create mode 100644 apidocs/testtools.matchers._basic._BinaryComparison.html create mode 100644 apidocs/testtools.matchers._basic._BinaryMismatch.html create mode 100644 apidocs/testtools.matchers._basic.html create mode 100644 apidocs/testtools.matchers._datastructures.MatchesListwise.html create mode 100644 apidocs/testtools.matchers._datastructures.MatchesSetwise.html create mode 100644 apidocs/testtools.matchers._datastructures.MatchesStructure.html create mode 100644 apidocs/testtools.matchers._datastructures.html create mode 100644 apidocs/testtools.matchers._dict.DictMismatches.html create mode 100644 apidocs/testtools.matchers._dict.KeysEqual.html create mode 100644 apidocs/testtools.matchers._dict.MatchesAllDict.html create mode 100644 apidocs/testtools.matchers._dict._CombinedMatcher.html create mode 100644 apidocs/testtools.matchers._dict._MatchCommonKeys.html create mode 100644 apidocs/testtools.matchers._dict._SubDictOf.html create mode 100644 apidocs/testtools.matchers._dict._SuperDictOf.html create mode 100644 apidocs/testtools.matchers._dict.html create mode 100644 apidocs/testtools.matchers._doctest.DocTestMatches.html create mode 100644 apidocs/testtools.matchers._doctest.DocTestMismatch.html create mode 100644 apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html create mode 100644 apidocs/testtools.matchers._doctest.html create mode 100644 apidocs/testtools.matchers._exception.MatchesException.html create mode 100644 apidocs/testtools.matchers._exception.Raises.html create mode 100644 apidocs/testtools.matchers._exception.html create mode 100644 apidocs/testtools.matchers._filesystem.FileContains.html create mode 100644 apidocs/testtools.matchers._filesystem.HasPermissions.html create mode 100644 apidocs/testtools.matchers._filesystem.SamePath.html create mode 100644 apidocs/testtools.matchers._filesystem.TarballContains.html create mode 100644 apidocs/testtools.matchers._filesystem.html create mode 100644 apidocs/testtools.matchers._higherorder.AfterPreprocessing.html create mode 100644 apidocs/testtools.matchers._higherorder.AllMatch.html create mode 100644 apidocs/testtools.matchers._higherorder.Annotate.html create mode 100644 apidocs/testtools.matchers._higherorder.AnyMatch.html create mode 100644 apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html create mode 100644 apidocs/testtools.matchers._higherorder.MatchesAll.html create mode 100644 apidocs/testtools.matchers._higherorder.MatchesAny.html create mode 100644 apidocs/testtools.matchers._higherorder.MismatchesAll.html create mode 100644 apidocs/testtools.matchers._higherorder.Not.html create mode 100644 apidocs/testtools.matchers._higherorder.PostfixedMismatch.html create mode 100644 apidocs/testtools.matchers._higherorder.PrefixedMismatch.html create mode 100644 apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html create mode 100644 apidocs/testtools.matchers._higherorder.html create mode 100644 apidocs/testtools.matchers._impl.Matcher.html create mode 100644 apidocs/testtools.matchers._impl.Mismatch.html create mode 100644 apidocs/testtools.matchers._impl.MismatchDecorator.html create mode 100644 apidocs/testtools.matchers._impl.MismatchError.html create mode 100644 apidocs/testtools.matchers._impl.html create mode 100644 apidocs/testtools.matchers.html create mode 100644 apidocs/testtools.monkey.MonkeyPatcher.html create mode 100644 apidocs/testtools.monkey.html create mode 100644 apidocs/testtools.run.TestProgram.html create mode 100644 apidocs/testtools.run.TestToolsTestRunner.html create mode 100644 apidocs/testtools.run.html create mode 100644 apidocs/testtools.runtest.MultipleExceptions.html create mode 100644 apidocs/testtools.runtest.RunTest.html create mode 100644 apidocs/testtools.runtest.html create mode 100644 apidocs/testtools.tags.TagContext.html create mode 100644 apidocs/testtools.tags.html create mode 100644 apidocs/testtools.testcase.ExpectedException.html create mode 100644 apidocs/testtools.testcase.Nullary.html create mode 100644 apidocs/testtools.testcase.TestCase.html create mode 100644 apidocs/testtools.testcase.TestSkipped.html create mode 100644 apidocs/testtools.testcase.WithAttributes.html create mode 100644 apidocs/testtools.testcase._ExpectedFailure.html create mode 100644 apidocs/testtools.testcase._UnexpectedSuccess.html create mode 100644 apidocs/testtools.testcase.html create mode 100644 apidocs/testtools.testresult.CopyStreamResult.html create mode 100644 apidocs/testtools.testresult.StreamResultRouter.html create mode 100644 apidocs/testtools.testresult.TestByTestResult.html create mode 100644 apidocs/testtools.testresult.TextTestResult.html create mode 100644 apidocs/testtools.testresult.__init__.html create mode 100644 apidocs/testtools.testresult.doubles.ExtendedTestResult.html create mode 100644 apidocs/testtools.testresult.doubles.LoggingBase.html create mode 100644 apidocs/testtools.testresult.doubles.Python26TestResult.html create mode 100644 apidocs/testtools.testresult.doubles.Python27TestResult.html create mode 100644 apidocs/testtools.testresult.doubles.StreamResult.html create mode 100644 apidocs/testtools.testresult.doubles.html create mode 100644 apidocs/testtools.testresult.html create mode 100644 apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html create mode 100644 apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html create mode 100644 apidocs/testtools.testresult.real.MultiTestResult.html create mode 100644 apidocs/testtools.testresult.real.StreamFailFast.html create mode 100644 apidocs/testtools.testresult.real.StreamResult.html create mode 100644 apidocs/testtools.testresult.real.StreamSummary.html create mode 100644 apidocs/testtools.testresult.real.StreamTagger.html create mode 100644 apidocs/testtools.testresult.real.StreamToDict.html create mode 100644 apidocs/testtools.testresult.real.StreamToExtendedDecorator.html create mode 100644 apidocs/testtools.testresult.real.StreamToQueue.html create mode 100644 apidocs/testtools.testresult.real.Tagger.html create mode 100644 apidocs/testtools.testresult.real.TestControl.html create mode 100644 apidocs/testtools.testresult.real.TestResult.html create mode 100644 apidocs/testtools.testresult.real.TestResultDecorator.html create mode 100644 apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html create mode 100644 apidocs/testtools.testresult.real.TimestampingStreamResult.html create mode 100644 apidocs/testtools.testresult.real.UTC.html create mode 100644 apidocs/testtools.testresult.real._StringException.html create mode 100644 apidocs/testtools.testresult.real.html create mode 100644 apidocs/testtools.tests.__init__.html create mode 100644 apidocs/testtools.tests.helpers.FullStackRunTest.html create mode 100644 apidocs/testtools.tests.helpers.LoggingResult.html create mode 100644 apidocs/testtools.tests.helpers.html create mode 100644 apidocs/testtools.tests.html create mode 100644 apidocs/testtools.tests.matchers.__init__.html create mode 100644 apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html create mode 100644 apidocs/testtools.tests.matchers.helpers.html create mode 100644 apidocs/testtools.tests.matchers.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestHasLength.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html create mode 100644 apidocs/testtools.tests.matchers.test_basic.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestMatchesSetwise.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html create mode 100644 apidocs/testtools.tests.matchers.test_datastructures.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html create mode 100644 apidocs/testtools.tests.matchers.test_dict.html create mode 100644 apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html create mode 100644 apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html create mode 100644 apidocs/testtools.tests.matchers.test_doctest.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_exception.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html create mode 100644 apidocs/testtools.tests.matchers.test_filesystem.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html create mode 100644 apidocs/testtools.tests.matchers.test_higherorder.html create mode 100644 apidocs/testtools.tests.matchers.test_impl.TestMismatch.html create mode 100644 apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html create mode 100644 apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html create mode 100644 apidocs/testtools.tests.matchers.test_impl.html create mode 100644 apidocs/testtools.tests.test_assert_that.AssertThatTests.html create mode 100644 apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html create mode 100644 apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html create mode 100644 apidocs/testtools.tests.test_assert_that.html create mode 100644 apidocs/testtools.tests.test_compat.TestReraise.html create mode 100644 apidocs/testtools.tests.test_compat.TestTextRepr.html create mode 100644 apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html create mode 100644 apidocs/testtools.tests.test_compat._FakeOutputStream.html create mode 100644 apidocs/testtools.tests.test_compat.html create mode 100644 apidocs/testtools.tests.test_content.TestAttachFile.html create mode 100644 apidocs/testtools.tests.test_content.TestContent.html create mode 100644 apidocs/testtools.tests.test_content.TestStackLinesContent.html create mode 100644 apidocs/testtools.tests.test_content.TestStacktraceContent.html create mode 100644 apidocs/testtools.tests.test_content.TestTracebackContent.html create mode 100644 apidocs/testtools.tests.test_content.html create mode 100644 apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html create mode 100644 apidocs/testtools.tests.test_content_type.TestContentType.html create mode 100644 apidocs/testtools.tests.test_content_type.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.AsText.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.Base.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.X.html create mode 100644 apidocs/testtools.tests.test_deferredruntest.html create mode 100644 apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html create mode 100644 apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html create mode 100644 apidocs/testtools.tests.test_distutilscmd.html create mode 100644 apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html create mode 100644 apidocs/testtools.tests.test_fixturesupport.html create mode 100644 apidocs/testtools.tests.test_helpers.TestStackHiding.html create mode 100644 apidocs/testtools.tests.test_helpers.html create mode 100644 apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html create mode 100644 apidocs/testtools.tests.test_monkey.TestObj.html create mode 100644 apidocs/testtools.tests.test_monkey.TestPatchHelper.html create mode 100644 apidocs/testtools.tests.test_monkey.html create mode 100644 apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html create mode 100644 apidocs/testtools.tests.test_run.SampleResourcedFixture.html create mode 100644 apidocs/testtools.tests.test_run.SampleTestFixture.html create mode 100644 apidocs/testtools.tests.test_run.TestRun.html create mode 100644 apidocs/testtools.tests.test_run.html create mode 100644 apidocs/testtools.tests.test_runtest.CustomRunTest.html create mode 100644 apidocs/testtools.tests.test_runtest.TestRunTest.html create mode 100644 apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html create mode 100644 apidocs/testtools.tests.test_runtest.html create mode 100644 apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html create mode 100644 apidocs/testtools.tests.test_spinner.TestExtractResult.html create mode 100644 apidocs/testtools.tests.test_spinner.TestNotReentrant.html create mode 100644 apidocs/testtools.tests.test_spinner.TestRunInReactor.html create mode 100644 apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html create mode 100644 apidocs/testtools.tests.test_spinner.html create mode 100644 apidocs/testtools.tests.test_tags.TestTags.html create mode 100644 apidocs/testtools.tests.test_tags.html create mode 100644 apidocs/testtools.tests.test_testcase.Attributes.html create mode 100644 apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html create mode 100644 apidocs/testtools.tests.test_testcase.TestAddCleanup.html create mode 100644 apidocs/testtools.tests.test_testcase.TestAssertions.html create mode 100644 apidocs/testtools.tests.test_testcase.TestAttributes.html create mode 100644 apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html create mode 100644 apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html create mode 100644 apidocs/testtools.tests.test_testcase.TestDetailsProvided.html create mode 100644 apidocs/testtools.tests.test_testcase.TestEquality.html create mode 100644 apidocs/testtools.tests.test_testcase.TestErrorHolder.html create mode 100644 apidocs/testtools.tests.test_testcase.TestExpectedFailure.html create mode 100644 apidocs/testtools.tests.test_testcase.TestNullary.html create mode 100644 apidocs/testtools.tests.test_testcase.TestOnException.html create mode 100644 apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html create mode 100644 apidocs/testtools.tests.test_testcase.TestPatchSupport.html create mode 100644 apidocs/testtools.tests.test_testcase.TestPlaceHolder.html create mode 100644 apidocs/testtools.tests.test_testcase.TestRunTestUsage.html create mode 100644 apidocs/testtools.tests.test_testcase.TestSetupTearDown.html create mode 100644 apidocs/testtools.tests.test_testcase.TestSkipping.html create mode 100644 apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html create mode 100644 apidocs/testtools.tests.test_testcase.TestUniqueFactories.html create mode 100644 apidocs/testtools.tests.test_testcase.TestWithDetails.html create mode 100644 apidocs/testtools.tests.test_testcase.html create mode 100644 apidocs/testtools.tests.test_testresult.DetailsContract.html create mode 100644 apidocs/testtools.tests.test_testresult.FallbackContract.html create mode 100644 apidocs/testtools.tests.test_testresult.Python26Contract.html create mode 100644 apidocs/testtools.tests.test_testresult.Python27Contract.html create mode 100644 apidocs/testtools.tests.test_testresult.StartTestRunContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TagsContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html create mode 100644 apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestByTestResultTests.html create mode 100644 apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html create mode 100644 apidocs/testtools.tests.test_testresult.TestDetailsToStr.html create mode 100644 apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html create mode 100644 apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestMergeTags.html create mode 100644 apidocs/testtools.tests.test_testresult.TestMultiTestResult.html create mode 100644 apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html create mode 100644 apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html create mode 100644 apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamFailFast.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamSummary.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamTagger.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToDict.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToQueue.html create mode 100644 apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTagger.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTestControl.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTestResult.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTextTestResult.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html create mode 100644 apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html create mode 100644 apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html create mode 100644 apidocs/testtools.tests.test_testresult.html create mode 100644 apidocs/testtools.tests.test_testsuite.Sample.html create mode 100644 apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html create mode 100644 apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html create mode 100644 apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html create mode 100644 apidocs/testtools.tests.test_testsuite.TestSortedTests.html create mode 100644 apidocs/testtools.tests.test_testsuite.html create mode 100644 apidocs/testtools.tests.test_with_with.TestExpectedException.html create mode 100644 apidocs/testtools.tests.test_with_with.html create mode 100644 apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html create mode 100644 apidocs/testtools.testsuite.ConcurrentTestSuite.html create mode 100644 apidocs/testtools.testsuite.html create mode 100644 apidocs/testtools.utils.html create mode 100644 apidocs/undoccedSummary.html (limited to 'apidocs') diff --git a/apidocs/apidocs.css b/apidocs/apidocs.css new file mode 100644 index 0000000..1a7a337 --- /dev/null +++ b/apidocs/apidocs.css @@ -0,0 +1,210 @@ +.navbar { + margin-bottom: 0px; +} + +.page-header { + margin-top: 22px; +} + + +ul { + margin-top: 10px; + padding-left: 10px; + list-style-type: none; +} + +li { + padding-top: 5px; + padding-bottom: 5px; +} + +li a { + text-decoration: none; +} + +ul { + margin-left: 10px; +} + +ul ul { + border-left-color: #e1f5fe; + border-left-width: 1px; + border-left-style: solid; +} + +ul ul ul { + border-left-color: #b3e5fc; +} + +ul ul ul ul { + border-left-color: #81d4fa; +} + +ul ul ul ul ul { + border-left-color: #4fc3f7; +} + +ul ul ul ul ul ul { + border-left-color: #29b6f6; +} + +ul ul ul ul ul ul ul { + border-left-color: #03a9f4; +} + +ul ul ul ul ul ul ul { + border-left-color: #039be5; +} + +.undocumented { + font-style: italic; + color: #9e9e9e; +} + +.functionBody p { + margin-top: 6px; + margin-bottom: 6px; +} + +#splitTables > p { + margin-bottom: 5px; +} + +#splitTables > table, .fieldTable { + margin-bottom: 20px; + width: 100%; + border: 0; +} + +#splitTables > table { + border: 1px solid #eee; +} + +#splitTables > table tr { + border-bottom-color: #eee; + border-bottom-width: 1px; + border-bottom-style: solid; +} + +#splitTables > table tr td, .fieldTable tr td { + padding: 5px; +} + +#splitTables > table tr td { + border-left-color: #eee; + border-left-width: 1px; + border-left-style: solid; +} + +#splitTables > table tr td:nth-child(1), .fieldTable tr td:nth-child(1) { + border-left: none; + width: 150px; +} + +#splitTables > table tr td:nth-child(2), .fieldTable tr td.fieldArg { + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + width: 200px; +} + +tr.package { + background-color: #fff3e0; +} + +tr.module { + background-color: #fff8e1; +} + +tr.class { + background-color: #fffde7; +} + +tr.instancevariable, tr.variable, tr.baseclassvariable, tr.attribute { + background-color: #f3e5f5; +} + +tr.interface { + background-color: #fbe9e7; +} + +tr.method, tr.function, tr.basemethod, tr.baseclassmethod, tr.classmethod { + background-color: #f1f8e9; +} + +tr.private { + background-color: #f1f1f1; +} + +.fieldTable { + margin-top: 10px; +} + + +#childList > div { + margin: 20px; + padding: 15px; + padding-bottom: 5px; +} + +.functionBody { + margin-left: 15px; +} + +.functionBody > #part { + font-style: italic; +} + +.functionBody > #part > a { + text-decoration: none; +} + +.functionBody .interfaceinfo { + font-style: italic; + margin-bottom: 3px; +} + +.functionBody > .undocumented { + + margin-top: 6px; + margin-bottom: 6px; +} + +.code { + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + padding:2px 4px; + font-size:90%; + color:#c7254e; + background-color:#f9f2f4; + border-radius:4px +} + +code > .code { + padding: 0px; +} + + +div.function { + border-left-color: #03a9f4; + border-left-width: 1px; + border-left-style: solid; +} + +div.function .functionHeader { + font-family: monospace; +} + +.moduleDocstring { + margin: 20px; +} + +#partOf { + margin-top: -13px; + margin-bottom: 19px; +} + +.fromInitPy { + font-style: italic; +} + +pre { + padding-left: 0px; +} diff --git a/apidocs/bootstrap.min.css b/apidocs/bootstrap.min.css new file mode 100644 index 0000000..cd1c616 --- /dev/null +++ b/apidocs/bootstrap.min.css @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.4 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px \9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px)and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.4;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px)and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px)and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/apidocs/classIndex.html b/apidocs/classIndex.html new file mode 100644 index 0000000..6967a63 --- /dev/null +++ b/apidocs/classIndex.html @@ -0,0 +1,34 @@ + + + + + Class Hierarchy + + + + + + + +
+ + + + + +
+ + \ No newline at end of file diff --git a/apidocs/index.html b/apidocs/index.html new file mode 100644 index 0000000..cf4740f --- /dev/null +++ b/apidocs/index.html @@ -0,0 +1,61 @@ + + + + + + API Documentation for + testtools + + + + + + + + + +
+

+ Get Started +

+ +

+ About +

+

+ This documentation was automatically generated by + pydoctor + at 2015-07-01 16:11:28. +

+ +
+ + + \ No newline at end of file diff --git a/apidocs/moduleIndex.html b/apidocs/moduleIndex.html new file mode 100644 index 0000000..a295b87 --- /dev/null +++ b/apidocs/moduleIndex.html @@ -0,0 +1,33 @@ + + + + + Module Index + + + + + + + +
+ + + + + +
+ + \ No newline at end of file diff --git a/apidocs/nameIndex.html b/apidocs/nameIndex.html new file mode 100644 index 0000000..354cc9c --- /dev/null +++ b/apidocs/nameIndex.html @@ -0,0 +1,244 @@ + + + + + Index Of Names + + + + + + + + + + +
+ + + + + + + +

A

+ + + + + + +

B

+ + + + + + +

C

+ + + + + + +

D

+ + + + + + +

E

+ + + + + + +

F

+ + + + + + +

G

+ + + + + + +

H

+ + + + + + +

I

+ + + + + + +

J

+ + + + + + +

K

+ + + + + + +

L

+ + + + + + +

M

+ + + + + + +

N

+ + + + + + +

O

+ + + + + + +

P

+ + + + + + +

R

+ + + + + + +

S

+ + + + + + +

T

+ + + + + + +

U

+ + + + + + +

W

+ + + + + + +

X

+ + + + + + +

_

+ + + + +
+ + + \ No newline at end of file diff --git a/apidocs/objects.inv b/apidocs/objects.inv new file mode 100644 index 0000000..0293208 Binary files /dev/null and b/apidocs/objects.inv differ diff --git a/apidocs/testtools.DecorateTestCaseResult.html b/apidocs/testtools.DecorateTestCaseResult.html new file mode 100644 index 0000000..a2a0ff6 --- /dev/null +++ b/apidocs/testtools.DecorateTestCaseResult.html @@ -0,0 +1,223 @@ + + + + + testtools.DecorateTestCaseResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Decorate a TestCase and permit customisation of the result for runs.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a DecorateTestCaseResult.
MethodrunUndocumented
Method__call__Undocumented
Method__getattr__Undocumented
Method__delattr__Undocumented
Method__setattr__Undocumented
Method_runUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, case, callout, before_run=None, after_run=None): + +
+
+ +
Construct a DecorateTestCaseResult.
ParameterscaseThe case to decorate.
calloutA callback to call when run/__call__/debug is called. +Must take a result parameter and return a result object to be used. +For instance: lambda result: result.
before_runIf set, call this with the decorated result before +calling into the decorated run/__call__ method.
before_runIf set, call this with the decorated result after +calling into the decorated run/__call__ method.
+
+
+ + + + + + +
+ + def + _run(self, result, run_method): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __call__(self, result=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __getattr__(self, name): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __delattr__(self, name): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __setattr__(self, name, value): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.FixtureSuite.html b/apidocs/testtools.FixtureSuite.html new file mode 100644 index 0000000..81d2402 --- /dev/null +++ b/apidocs/testtools.FixtureSuite.html @@ -0,0 +1,131 @@ + + + + + testtools.FixtureSuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodrunUndocumented
Methodsort_testsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, fixture, tests): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + sort_tests(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.PlaceHolder.html b/apidocs/testtools.PlaceHolder.html new file mode 100644 index 0000000..a8bffc9 --- /dev/null +++ b/apidocs/testtools.PlaceHolder.html @@ -0,0 +1,289 @@ + + + + + testtools.PlaceHolder : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A placeholder test.

+

PlaceHolder implements much of the same interface as TestCase and is +particularly suitable for being added to TestResults.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a PlaceHolder.
Method__call__Undocumented
Method__repr__Undocumented
Method__str__Undocumented
MethodcountTestCasesUndocumented
MethoddebugUndocumented
MethodidUndocumented
MethodrunUndocumented
MethodshortDescriptionUndocumented
Method_resultUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, test_id, short_description=None, details=None, outcome='addSuccess', error=None, tags=None, timestamps=(None, None)): + +
+
+ +
Construct a PlaceHolder.
Parameterstest_idThe id of the placeholder test.
short_descriptionThe short description of the place holder +test. If not provided, the id will be used instead.
detailsOutcome details as accepted by addSuccess etc.
outcomeThe outcome to call. Defaults to 'addSuccess'.
tagsTags to report for the test.
timestampsA two-tuple of timestamps for the test start and +finish. Each timestamp may be None to indicate it is not known.
+
+
+ + + + + + +
+ + def + __call__(self, result=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + countTestCases(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + debug(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _result(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + shortDescription(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.TestCommand.html b/apidocs/testtools.TestCommand.html new file mode 100644 index 0000000..9f890e8 --- /dev/null +++ b/apidocs/testtools.TestCommand.html @@ -0,0 +1,153 @@ + + + + + testtools.TestCommand : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Command to run unit tests with testtools
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodinitialize_optionsUndocumented
Methodfinalize_optionsUndocumented
MethodrunUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, dist): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + initialize_options(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + finalize_options(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.__init__.html b/apidocs/testtools.__init__.html new file mode 100644 index 0000000..0e84c6e --- /dev/null +++ b/apidocs/testtools.__init__.html @@ -0,0 +1,109 @@ + + + + + testtools.__init__ : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Extensions to the standard Python unittest library.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassDecorateTestCaseResultDecorate a TestCase and permit customisation of the result for runs.
FunctionErrorHolderConstruct an ErrorHolder.
ClassPlaceHolderA placeholder test.
ClassFixtureSuiteUndocumented
ClassTestCommandCommand to run unit tests with testtools
+ + + +
+ +
+ +
+ + + + + + +
+ + def + ErrorHolder(test_id, error, short_description=None, details=None): + +
+
+ +
Construct an ErrorHolder.
Parameterstest_idThe id of the test.
errorThe exc info tuple that will be used as the test's error. +This is inserted into the details as 'traceback' - any existing key +will be overridden.
short_descriptionAn optional short description of the test.
detailsOutcome details as accepted by addSuccess etc.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._compat2x.html b/apidocs/testtools._compat2x.html new file mode 100644 index 0000000..51e30be --- /dev/null +++ b/apidocs/testtools._compat2x.html @@ -0,0 +1,89 @@ + + + + + testtools._compat2x : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Compatibility helpers that are valid syntax in Python 2.x.

+

Only add things here if they only work in Python 2.x or are Python 2 +alternatives to things that only work in Python 3.x.

+
+ +
+ + + + + + + + +
FunctionreraiseRe-raise an exception received from sys.exc_info() or similar.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + reraise(exc_class, exc_obj, exc_tb, _marker=object()): + +
+
+ +
Re-raise an exception received from sys.exc_info() or similar.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._compat3x.html b/apidocs/testtools._compat3x.html new file mode 100644 index 0000000..c86c66b --- /dev/null +++ b/apidocs/testtools._compat3x.html @@ -0,0 +1,89 @@ + + + + + testtools._compat3x : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Compatibility helpers that are valid syntax in Python 3.x.

+

Only add things here if they only work in Python 3.x or are Python 3 +alternatives to things that only work in Python 2.x.

+
+ +
+ + + + + + + + +
FunctionreraiseRe-raise an exception received from sys.exc_info() or similar.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + reraise(exc_class, exc_obj, exc_tb, _marker=object()): + +
+
+ +
Re-raise an exception received from sys.exc_info() or similar.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.DeferredNotFired.html b/apidocs/testtools._spinner.DeferredNotFired.html new file mode 100644 index 0000000..653c649 --- /dev/null +++ b/apidocs/testtools._spinner.DeferredNotFired.html @@ -0,0 +1,62 @@ + + + + + testtools._spinner.DeferredNotFired : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when we extract a result from a Deferred that's not fired yet.
+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.NoResultError.html b/apidocs/testtools._spinner.NoResultError.html new file mode 100644 index 0000000..631cfe3 --- /dev/null +++ b/apidocs/testtools._spinner.NoResultError.html @@ -0,0 +1,87 @@ + + + + + testtools._spinner.NoResultError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when the reactor has stopped but we don't have any result.
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.ReentryError.html b/apidocs/testtools._spinner.ReentryError.html new file mode 100644 index 0000000..477b728 --- /dev/null +++ b/apidocs/testtools._spinner.ReentryError.html @@ -0,0 +1,87 @@ + + + + + testtools._spinner.ReentryError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when we try to re-enter a function that forbids it.
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, function): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.Spinner.html b/apidocs/testtools._spinner.Spinner.html new file mode 100644 index 0000000..0d9b524 --- /dev/null +++ b/apidocs/testtools._spinner.Spinner.html @@ -0,0 +1,369 @@ + + + + + testtools._spinner.Spinner : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Spin the reactor until a function is done.

+

This class emulates the behaviour of twisted.trial in that it grotesquely +and horribly spins the Twisted reactor while a function is running, and +then kills the reactor when that function is complete and all the +callbacks in its chains are done.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a Spinner.
Methodclear_junkClear out our recorded junk.
Methodget_junkReturn any junk that has been found on the reactor.
MethodrunRun 'function' in a reactor.
Method_cancel_timeoutUndocumented
Method_get_resultUndocumented
Method_got_failureUndocumented
Method_got_successUndocumented
Method_stop_reactorStop the reactor!
Method_timed_outUndocumented
Method_cleanClean up any junk in the reactor.
Method_save_signalsUndocumented
Method_restore_signalsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, reactor, debug=False): + +
+
+ +
Construct a Spinner.
ParametersreactorA Twisted reactor.
debugWhether or not to enable Twisted's debugging. Defaults +to False.
+
+
+ + + + + + +
+ + def + _cancel_timeout(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _got_failure(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _got_success(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _stop_reactor(self, ignored=None): + +
+
+ +
Stop the reactor!
+
+
+ + + + + + +
+ + def + _timed_out(self, function, timeout): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _clean(self): + +
+
+ +

Clean up any junk in the reactor.

+

Will always iterate the reactor a number of times equal to +Spinner._OBLIGATORY_REACTOR_ITERATIONS. This is to work around +bugs in various Twisted APIs where a Deferred fires but still leaves +work (e.g. cancelling a call, actually closing a connection) for the +reactor to do.

+
+
+ + + + + + +
+ + def + clear_junk(self): + +
+
+ +
Clear out our recorded junk.
ReturnsWhatever junk was there before.
+
+
+ + + + + + +
+ + def + get_junk(self): + +
+
+ +
Return any junk that has been found on the reactor.
+
+
+ + + + + + +
+ + def + _save_signals(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _restore_signals(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @not_reentrant
+ def + run(self, timeout, function, *args, **kwargs): + +
+
+ +

Run 'function' in a reactor.

+

If 'function' returns a Deferred, the reactor will keep spinning until +the Deferred fires and its chain completes or until the timeout is +reached -- whichever comes first.

ReturnsWhatever is at the end of the function's callback chain. If +it's an error, then raise that.
RaisesTimeoutErrorIf 'timeout' is reached before the Deferred +returned by 'function' has completed its callback chain.
NoResultErrorIf the reactor is somehow interrupted before +the Deferred returned by 'function' has completed its callback +chain.
StaleJunkErrorIf there's junk in the spinner from a previous +run.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.StaleJunkError.html b/apidocs/testtools._spinner.StaleJunkError.html new file mode 100644 index 0000000..0557bdd --- /dev/null +++ b/apidocs/testtools._spinner.StaleJunkError.html @@ -0,0 +1,87 @@ + + + + + testtools._spinner.StaleJunkError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when there's junk in the spinner from a previous run.
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, junk): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.TimeoutError.html b/apidocs/testtools._spinner.TimeoutError.html new file mode 100644 index 0000000..f971c47 --- /dev/null +++ b/apidocs/testtools._spinner.TimeoutError.html @@ -0,0 +1,87 @@ + + + + + testtools._spinner.TimeoutError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when run_in_reactor takes too long to run a function.
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, function, timeout): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools._spinner.html b/apidocs/testtools._spinner.html new file mode 100644 index 0000000..f50ce83 --- /dev/null +++ b/apidocs/testtools._spinner.html @@ -0,0 +1,178 @@ + + + + + testtools._spinner : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Evil reactor-spinning logic for running Twisted tests.

+

This code is highly experimental, liable to change and not to be trusted. If +you couldn't write this yourself, you should not be using it.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassReentryErrorRaised when we try to re-enter a function that forbids it.
Functionnot_reentrantDecorates a function as not being re-entrant.
ClassDeferredNotFiredRaised when we extract a result from a Deferred that's not fired yet.
Functionextract_resultExtract the result from a fired deferred.
Functiontrap_unhandled_errorsRun a function, trapping any unhandled errors in Deferreds.
ClassTimeoutErrorRaised when run_in_reactor takes too long to run a function.
ClassNoResultErrorRaised when the reactor has stopped but we don't have any result.
ClassStaleJunkErrorRaised when there's junk in the spinner from a previous run.
ClassSpinnerSpin the reactor until a function is done.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + not_reentrant(function, _calls={}): + +
+
+ +

Decorates a function as not being re-entrant.

+

The decorated function will raise an error if called from within itself.

+
+
+ + + + + + +
+ + def + extract_result(deferred): + +
+
+ +

Extract the result from a fired deferred.

+

It can happen that you have an API that returns Deferreds for +compatibility with Twisted code, but is in fact synchronous, i.e. the +Deferreds it returns have always fired by the time it returns. In this +case, you can use this function to convert the result back into the usual +form for a synchronous API, i.e. the result itself or a raised exception.

+

It would be very bad form to use this as some way of checking if a +Deferred has fired.

+
+
+ + + + + + +
+ + def + trap_unhandled_errors(function, *args, **kwargs): + +
+
+ +

Run a function, trapping any unhandled errors in Deferreds.

+

Assumes that 'function' will have handled any errors in Deferreds by the +time it is complete. This is almost never true of any Twisted code, since +you can never tell when someone has added an errback to a Deferred.

+

If 'function' raises, then don't bother doing any unhandled error +jiggery-pokery, since something horrible has probably happened anyway.

ReturnsA tuple of '(result, error)', where 'result' is the value +returned by 'function' and 'error' is a list of 'defer.DebugInfo' +objects that have unhandled errors in Deferreds.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.assertions.html b/apidocs/testtools.assertions.html new file mode 100644 index 0000000..e74a33c --- /dev/null +++ b/apidocs/testtools.assertions.html @@ -0,0 +1,90 @@ + + + + + testtools.assertions : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + +
Functionassert_thatAssert that matchee is matched by matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + assert_that(matchee, matcher, message='', verbose=False): + +
+
+ +

Assert that matchee is matched by matcher.

+

This should only be used when you need to use a function based +matcher, assertThat in Testtools.Testcase is prefered and has more +features

ParametersmatcheeAn object to match with matcher.
matcherAn object meeting the testtools.Matcher protocol.
RaisesMismatchErrorWhen matcher does not match thing.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.compat.html b/apidocs/testtools.compat.html new file mode 100644 index 0000000..ec63fc3 --- /dev/null +++ b/apidocs/testtools.compat.html @@ -0,0 +1,383 @@ + + + + + testtools.compat : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Compatibility support for python 2 and 3.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functionistext 0Undocumented
Functionclasstypes 0Undocumented
FunctionistextUndocumented
FunctionclasstypesUndocumented
Functiontext_reprRich repr for text returning unicode, triple quoted if multiline.
Functionunicode_output_streamGet wrapper for given stream that writes any unicode without exception
Function_u 0Undocumented
Function_b 0A byte literal.
Function_uUndocumented
Function_bUndocumented
Function_isbytes 0Undocumented
Function_isbytesUndocumented
Function_slow_escapeEscape unicode text leaving printable characters unmodified
Function_get_exception_encodingReturn the encoding we expect messages from the OS to be encoded in
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _u 0(s): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _b 0(s): + +
+
+ +
A byte literal.
+
+
+ + + + + + +
+ + def + istext 0(x): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + classtypes 0(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _u(s): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _b(s): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + istext(x): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + classtypes(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _isbytes 0(x): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _isbytes(x): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _slow_escape(text): + +
+
+ +

Escape unicode text leaving printable characters unmodified

+

The behaviour emulates the Python 3 implementation of repr, see +unicode_repr in unicodeobject.c and isprintable definition.

+

Because this iterates over the input a codepoint at a time, it's slow, and +does not handle astral characters correctly on Python builds with 16 bit +rather than 32 bit unicode type.

+
+
+ + + + + + +
+ + def + text_repr(text, multiline=None): + +
+
+ +
Rich repr for text returning unicode, triple quoted if multiline.
+
+
+ + + + + + +
+ + def + unicode_output_stream(stream): + +
+
+ +

Get wrapper for given stream that writes any unicode without exception

+

Characters that can't be coerced to the encoding of the stream, or 'ascii' +if valid encoding is not found, will be replaced. The original stream may +be returned in situations where a wrapper is determined unneeded.

+

The wrapper only allows unicode to be written, not non-ascii bytestrings, +which is a good thing to ensure sanity and sanitation.

+
+
+ + + + + + +
+ + def + _get_exception_encoding(): + +
+
+ +
Return the encoding we expect messages from the OS to be encoded in
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content.Content.html b/apidocs/testtools.content.Content.html new file mode 100644 index 0000000..0cc8cde --- /dev/null +++ b/apidocs/testtools.content.Content.html @@ -0,0 +1,248 @@ + + + + + testtools.content.Content : API documentation + + + + + + + + + +
+ + + + + +
+

A MIME-like Content object.

+

'Content' objects can be serialised to bytes using the iter_bytes method. +If the 'Content-Type' is recognised by other code, they are welcome to +look for richer contents that mere byte serialisation - for example in +memory object graphs etc. However, such code MUST be prepared to receive +a generic 'Content' object that has been reconstructed from a byte stream.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variablecontent_typeThe content type of this Content.
Method__init__Create a ContentType.
Method__eq__Undocumented
Methodas_textReturn all of the content as text.
Methoditer_bytesIterate over bytestrings of the serialised content.
Methoditer_textIterate over the text of the serialised content.
Method__repr__Undocumented
Method_iter_textWorker for iter_text - does the decoding.
+ + + +
+ +
+ +
+ + + + + + +
+ content_type = +
+
+ The content type of this Content. +
+
+ + + + + + +
+ + def + __init__(self, content_type, get_bytes): + +
+
+ +
Create a ContentType.
+
+
+ + + + + + +
+ + def + __eq__(self, other): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + as_text(self): + +
+
+ +

Return all of the content as text.

+

This is only valid where iter_text is. It will load all of the +content into memory. Where this is a concern, use iter_text +instead.

+
+
+ + + + + + +
+ + def + iter_bytes(self): + +
+
+ +
Iterate over bytestrings of the serialised content.
+
+
+ + + + + + +
+ + def + iter_text(self): + +
+
+ +

Iterate over the text of the serialised content.

+

This is only valid for text MIME types, and will use ISO-8859-1 if +no charset parameter is present in the MIME type. (This is somewhat +arbitrary, but consistent with RFC2617 3.7.1).

RaisesValueErrorIf the content type is not text/*.
+
+
+ + + + + + +
+ + def + _iter_text(self): + +
+
+ +
Worker for iter_text - does the decoding.
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content.StackLinesContent.html b/apidocs/testtools.content.StackLinesContent.html new file mode 100644 index 0000000..25805f6 --- /dev/null +++ b/apidocs/testtools.content.StackLinesContent.html @@ -0,0 +1,161 @@ + + + + + testtools.content.StackLinesContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Content object for stack lines.

+

This adapts a list of "preprocessed" stack lines into a 'Content' object. +The stack lines are most likely produced from traceback.extract_stack +or traceback.extract_tb.

+

text/x-traceback;language=python is used for the mime type, in order to +provide room for other languages to format their tracebacks differently.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a StackLinesContent for stack_lines.
Method_stack_lines_to_unicodeConverts a list of pre-processed stack lines into a unicode string.
+ +

+ Inherited from Content: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variablecontent_typeThe content type of this Content.
Method__eq__Undocumented
Methodas_textReturn all of the content as text.
Methoditer_bytesIterate over bytestrings of the serialised content.
Methoditer_textIterate over the text of the serialised content.
Method__repr__Undocumented
Method_iter_textWorker for iter_text - does the decoding.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, stack_lines, prefix_content='', postfix_content=''): + +
+
+ +
Create a StackLinesContent for stack_lines.
Parametersstack_linesA list of preprocessed stack lines, probably +obtained by calling traceback.extract_stack or +traceback.extract_tb.
prefix_contentIf specified, a unicode string to prepend to the +text content.
postfix_contentIf specified, a unicode string to append to the +text content.
+
+
+ + + + + + +
+ + def + _stack_lines_to_unicode(self, stack_lines): + +
+
+ +
Converts a list of pre-processed stack lines into a unicode string.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content.TracebackContent.html b/apidocs/testtools.content.TracebackContent.html new file mode 100644 index 0000000..2861e73 --- /dev/null +++ b/apidocs/testtools.content.TracebackContent.html @@ -0,0 +1,133 @@ + + + + + testtools.content.TracebackContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Content object for tracebacks.

+

This adapts an exc_info tuple to the 'Content' interface. +'text/x-traceback;language=python' is used for the mime type, in order to +provide room for other languages to format their tracebacks differently.

+
+ +
+ + + + + + + + +
Method__init__Create a TracebackContent for err.
+ +

+ Inherited from Content: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variablecontent_typeThe content type of this Content.
Method__eq__Undocumented
Methodas_textReturn all of the content as text.
Methoditer_bytesIterate over bytestrings of the serialised content.
Methoditer_textIterate over the text of the serialised content.
Method__repr__Undocumented
Method_iter_textWorker for iter_text - does the decoding.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, err, test, capture_locals=False): + +
+
+ +
Create a TracebackContent for err.
ParameterserrAn exc_info error tuple.
testA test object used to obtain failureException.
capture_localsIf true, show locals in the traceback.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content.html b/apidocs/testtools.content.html new file mode 100644 index 0000000..c11abd6 --- /dev/null +++ b/apidocs/testtools.content.html @@ -0,0 +1,311 @@ + + + + + testtools.content : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Content - a MIME-like Content object.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassContentA MIME-like Content object.
ClassStackLinesContentContent object for stack lines.
ClassTracebackContentContent object for tracebacks.
FunctionStacktraceContentContent object for stack traces.
Functionjson_contentCreate a JSON Content object from JSON-encodeable data.
Functiontext_contentCreate a Content object from some text.
Functionmaybe_wrapMerge metadata for func into wrapper if functools is present.
Functioncontent_from_fileCreate a Content object from a file on disk.
Functioncontent_from_streamCreate a Content object from a file-like stream.
Functioncontent_from_readerCreate a Content object that will obtain the content from reader.
Functionattach_fileAttach a file to this test as a detail.
Function_iter_chunksRead 'stream' in chunks of 'chunk_size'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _iter_chunks(stream, chunk_size, seek_offset=None, seek_whence=0): + +
+
+ +
Read 'stream' in chunks of 'chunk_size'.
ParametersstreamA file-like object to read from.
chunk_sizeThe size of each read from 'stream'.
seek_offsetIf non-None, seek before iterating.
seek_whencePass through to the seek call, if seeking.
+
+
+ + + + + + +
+ + def + StacktraceContent(prefix_content='', postfix_content=''): + +
+
+ +

Content object for stack traces.

+

This function will create and return a 'Content' object that contains a +stack trace.

+

The mime type is set to 'text/x-traceback;language=python', so other +languages can format their stack traces differently.

Parametersprefix_contentA unicode string to add before the stack lines.
postfix_contentA unicode string to add after the stack lines.
+
+
+ + + + + + +
+ + def + json_content(json_data): + +
+
+ +
Create a JSON Content object from JSON-encodeable data.
+
+
+ + + + + + +
+ + def + text_content(text): + +
+
+ +

Create a Content object from some text.

+

This is useful for adding details which are short strings.

+
+
+ + + + + + +
+ + def + maybe_wrap(wrapper, func): + +
+
+ +
Merge metadata for func into wrapper if functools is present.
+
+
+ + + + + + +
+ + def + content_from_file(path, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=False, seek_offset=None, seek_whence=0): + +
+
+ +

Create a Content object from a file on disk.

+

Note that unless buffer_now is explicitly passed in as True, the file +will only be read from when iter_bytes is called.

ParameterspathThe path to the file to be used as content.
content_typeThe type of content. If not specified, defaults +to UTF8-encoded text/plain.
chunk_sizeThe size of chunks to read from the file. +Defaults to DEFAULT_CHUNK_SIZE.
buffer_nowIf True, read the file from disk now and keep it in +memory. Otherwise, only read when the content is serialized.
seek_offsetIf non-None, seek within the stream before reading it.
seek_whenceIf supplied, pass to stream.seek() when seeking.
+
+
+ + + + + + +
+ + def + content_from_stream(stream, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=False, seek_offset=None, seek_whence=0): + +
+
+ +

Create a Content object from a file-like stream.

+

Note that unless buffer_now is explicitly passed in as True, the stream +will only be read from when iter_bytes is called.

ParametersstreamA file-like object to read the content from. The stream +is not closed by this function or the 'Content' object it returns.
content_typeThe type of content. If not specified, defaults +to UTF8-encoded text/plain.
chunk_sizeThe size of chunks to read from the file. +Defaults to DEFAULT_CHUNK_SIZE.
buffer_nowIf True, reads from the stream right now. Otherwise, +only reads when the content is serialized. Defaults to False.
seek_offsetIf non-None, seek within the stream before reading it.
seek_whenceIf supplied, pass to stream.seek() when seeking.
+
+
+ + + + + + +
+ + def + content_from_reader(reader, content_type, buffer_now): + +
+
+ +
Create a Content object that will obtain the content from reader.
ParametersreaderA callback to read the content. Should return an iterable of +bytestrings.
content_typeThe content type to create.
buffer_nowIf True the reader is evaluated immediately and +buffered.
+
+
+ + + + + + +
+ + def + attach_file(detailed, path, name=None, content_type=None, chunk_size=DEFAULT_CHUNK_SIZE, buffer_now=True): + +
+
+ +

Attach a file to this test as a detail.

+

This is a convenience method wrapping around addDetail.

+

Note that by default the contents of the file will be read immediately. If +buffer_now is False, then the file must exist when the test result is +called with the results of this test, after the test has been torn down.

ParametersdetailedAn object with details
pathThe path to the file to attach.
nameThe name to give to the detail for the attached file.
content_typeThe content type of the file. If not provided, +defaults to UTF8-encoded text/plain.
chunk_sizeThe size of chunks to read from the file. Defaults +to something sensible.
buffer_now

If False the file content is read when the content +object is evaluated rather than when attach_file is called. +Note that this may be after any cleanups that obj_with_details has, so +if the file is a temporary file disabling buffer_now may cause the file +to be read after it is deleted. To handle those cases, using +attach_file as a cleanup is recommended because it guarantees a +sequence for when the attach_file call is made:

+
+detailed.addCleanup(attach_file, 'foo.txt', detailed)
+
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content_type.ContentType.html b/apidocs/testtools.content_type.ContentType.html new file mode 100644 index 0000000..54c4f36 --- /dev/null +++ b/apidocs/testtools.content_type.ContentType.html @@ -0,0 +1,187 @@ + + + + + testtools.content_type.ContentType : API documentation + + + + + + + + + +
+ + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariabletypeThe primary type, e.g. "text" or "application"
Instance VariablesubtypeThe subtype, e.g. "plain" or "octet-stream"
Instance VariableparametersA dict of additional parameters specific to the +content type.
Method__init__Create a ContentType.
Method__eq__Undocumented
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ type = +
+
+ The primary type, e.g. "text" or "application" +
+
+ + + + + + +
+ subtype = +
+
+ The subtype, e.g. "plain" or "octet-stream" +
+
+ + + + + + +
+ parameters = +
+
+ A dict of additional parameters specific to the +content type. +
+
+ + + + + + +
+ + def + __init__(self, primary_type, sub_type, parameters=None): + +
+
+ +
Create a ContentType.
+
+
+ + + + + + +
+ + def + __eq__(self, other): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.content_type.html b/apidocs/testtools.content_type.html new file mode 100644 index 0000000..44bb9f5 --- /dev/null +++ b/apidocs/testtools.content_type.html @@ -0,0 +1,70 @@ + + + + + testtools.content_type : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
ContentType - a MIME Content Type.
+
+ +
+ + + + + + + + +
ClassContentTypeA content type from http://www.iana.org/assignments/media-types/
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html new file mode 100644 index 0000000..61b06ca --- /dev/null +++ b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTest.html @@ -0,0 +1,415 @@ + + + + + testtools.deferredruntest.AsynchronousDeferredRunTest : API documentation + + + + + + + + + +
+ + + + + +
+

Runner for tests that return Deferreds that fire asynchronously.

+

That is, this test runner assumes that the Deferreds will only fire if the +reactor is left to spin for a while.

+

Do not rely too heavily on the nuances of the behaviour of this class. +What it does to the reactor is black magic, and if we can find nicer ways +of doing it we will gladly break backwards compatibility.

+

This is highly experimental code. Use at your own risk.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct an AsynchronousDeferredRunTest.
Class Methodmake_factoryMake a factory that conforms to the RunTest factory interface.
Method_run_cleanupsRun the cleanups on the test case.
Method_make_spinnerMake the Spinner to be used to run the tests.
Method_run_deferredRun the test, assuming everything in it is Deferred-returning.
Method_log_user_exceptionRaise 'e' and report it as a user exception.
Method_blocking_run_deferredUndocumented
Method_run_coreRun the user supplied test code.
Method_run_userRun a user-supplied function.
+ +

+ Inherited from RunTest (via _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_got_user_exceptionCalled when user code raises an exception.
+ +

+ Inherited from RunTest (via _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, case, handlers=None, last_resort=None, reactor=None, timeout=0.005, debug=False): + +
+
+ +

Construct an AsynchronousDeferredRunTest.

+

Please be sure to always use keyword syntax, not positional, as the +base class may add arguments in future - and for core code +compatibility with that we have to insert them before the local +parameters.

ParameterscaseThe TestCase to run.
handlersA list of exception handlers (ExceptionType, handler) +where 'handler' is a callable that takes a TestCase, a +testtools.TestResult and the exception raised.
last_resortHandler to call before re-raising uncatchable +exceptions (those for which there is no handler).
reactorThe Twisted reactor to use. If not given, we use the +default reactor.
timeoutThe maximum time allowed for running a test. The +default is 0.005s.
debugWhether or not to enable Twisted's debugging. Use this +to get information about unhandled Deferreds and left-over +DelayedCalls. Defaults to False.
+
+
+ + + + + + +
+ @classmethod
+ def + make_factory(cls, reactor=None, timeout=0.005, debug=False): + +
+
+ +
Make a factory that conforms to the RunTest factory interface.
+
+
+ + + + + + +
+ @defer.deferredGenerator
+ def + _run_cleanups(self): + +
+
+ +

Run the cleanups on the test case.

+

We expect that the cleanups on the test case can also return +asynchronous Deferreds. As such, we take the responsibility for +running the cleanups, rather than letting TestCase do it.

+
+
+ + + + + + +
+ + def + _make_spinner(self): + +
+
+ +
Make the Spinner to be used to run the tests.
+
+
+ + + + + + +
+ + def + _run_deferred(self): + +
+
+ +

Run the test, assuming everything in it is Deferred-returning.

+

This should return a Deferred that fires with True if the test was +successful and False if the test was not successful. It should not +call addSuccess on the result, because there's reactor clean up that +we needs to be done afterwards.

+
+
+ + + + + + +
+ + def + _log_user_exception(self, e): + +
+
+ +
Raise 'e' and report it as a user exception.
+
+
+ + + + + + +
+ + def + _blocking_run_deferred(self, spinner): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _run_core(self): + +
+
+ +
Run the user supplied test code.
+
+
+ + + + + + +
+ + def + _run_user(self, function, *args): + +
+
+ +

Run a user-supplied function.

+

This just makes sure that it returns a Deferred, regardless of how the +user wrote it.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html new file mode 100644 index 0000000..94dc2fc --- /dev/null +++ b/apidocs/testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted.html @@ -0,0 +1,281 @@ + + + + + testtools.deferredruntest.AsynchronousDeferredRunTestForBrokenTwisted : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Test runner that works around Twisted brokenness re reactor junk.

+

There are many APIs within Twisted itself where a Deferred fires but +leaves cleanup work scheduled for the reactor to do. Arguably, many of +these are bugs. This runner iterates the reactor event loop a number of +times after every test, in order to shake out these buggy-but-commonplace +events.

+
+ +
+ + + + + + + + +
Method_make_spinnerMake the Spinner to be used to run the tests.
+ +

+ Inherited from RunTest (via AsynchronousDeferredRunTest, _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_got_user_exceptionCalled when user code raises an exception.
+ +

+ Inherited from RunTest (via AsynchronousDeferredRunTest, _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_got_user_exceptionCalled when user code raises an exception.
+ +

+ Inherited from RunTest (via AsynchronousDeferredRunTest, _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_spinner(self): + +
+
+ +
Make the Spinner to be used to run the tests.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html b/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html new file mode 100644 index 0000000..1437d02 --- /dev/null +++ b/apidocs/testtools.deferredruntest.SynchronousDeferredRunTest.html @@ -0,0 +1,245 @@ + + + + + testtools.deferredruntest.SynchronousDeferredRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Runner for tests that return synchronous Deferreds.
+
+ +
+ + + + + + + + +
Method_run_userRun a user supplied function.
+ +

+ Inherited from RunTest (via _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_got_user_exceptionCalled when user code raises an exception.
+ +

+ Inherited from RunTest (via _DeferredRunTest): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _run_user(self, function, *args): + +
+
+ +

Run a user supplied function.

+

Exceptions are processed by _got_user_exception.

ReturnsEither whatever 'fn' returns or exception_caught if +'fn' raised an exception.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.UncleanReactorError.html b/apidocs/testtools.deferredruntest.UncleanReactorError.html new file mode 100644 index 0000000..b4e917b --- /dev/null +++ b/apidocs/testtools.deferredruntest.UncleanReactorError.html @@ -0,0 +1,109 @@ + + + + + testtools.deferredruntest.UncleanReactorError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when the reactor has junk in it.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
Method_get_junk_infoUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, junk): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_junk_info(self, junk): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest._DeferredRunTest.html b/apidocs/testtools.deferredruntest._DeferredRunTest.html new file mode 100644 index 0000000..8857837 --- /dev/null +++ b/apidocs/testtools.deferredruntest._DeferredRunTest.html @@ -0,0 +1,170 @@ + + + + + testtools.deferredruntest._DeferredRunTest : API documentation + + + + + + + + + +
+ + + + + +
+
Base for tests that return Deferreds.
+
+ +
+ + + + + + + + +
Method_got_user_failureWe got a failure from user code.
+ +

+ Inherited from RunTest: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_run_userRun a user supplied function.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _got_user_failure(self, failure, tb_label='traceback'): + +
+
+ +
We got a failure from user code.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.deferredruntest.html b/apidocs/testtools.deferredruntest.html new file mode 100644 index 0000000..0df80a0 --- /dev/null +++ b/apidocs/testtools.deferredruntest.html @@ -0,0 +1,166 @@ + + + + + testtools.deferredruntest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Individual test case execution for tests that return Deferreds.

+

This module is highly experimental and is liable to change in ways that cause +subtle failures in tests. Use at your own peril.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassSynchronousDeferredRunTestRunner for tests that return synchronous Deferreds.
Functionrun_with_log_observersRun 'function' with the given Twisted log observers.
ClassAsynchronousDeferredRunTestRunner for tests that return Deferreds that fire asynchronously.
ClassAsynchronousDeferredRunTestForBrokenTwistedTest runner that works around Twisted brokenness re reactor junk.
Functionassert_fails_withAssert that 'd' will fail with one of 'exc_types'.
Functionflush_logged_errorsUndocumented
ClassUncleanReactorErrorRaised when the reactor has junk in it.
Class_DeferredRunTestBase for tests that return Deferreds.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + run_with_log_observers(observers, function, *args, **kwargs): + +
+
+ +
Run 'function' with the given Twisted log observers.
+
+
+ + + + + + +
+ + def + assert_fails_with(d, *exc_types, **kwargs): + +
+
+ +

Assert that 'd' will fail with one of 'exc_types'.

+

The normal way to use this is to return the result of 'assert_fails_with' +from your unit test.

+

Note that this function is experimental and unstable. Use at your own +peril; expect the API to change.

ParametersdA Deferred that is expected to fail.
exc_typesThe exception types that the Deferred is expected to +fail with.
failureExceptionAn optional keyword argument. If provided, will +raise that exception instead of +testtools.TestCase.failureException.
ReturnsA Deferred that will fail with an AssertionError if 'd' does +not fail with one of the exception types.
+
+
+ + + + + + +
+ + def + flush_logged_errors(*error_types): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.distutilscmd.html b/apidocs/testtools.distutilscmd.html new file mode 100644 index 0000000..ef2366c --- /dev/null +++ b/apidocs/testtools.distutilscmd.html @@ -0,0 +1,62 @@ + + + + + testtools.distutilscmd : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Extensions to the standard Python unittest library.
+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.helpers.html b/apidocs/testtools.helpers.html new file mode 100644 index 0000000..c4a7f81 --- /dev/null +++ b/apidocs/testtools.helpers.html @@ -0,0 +1,156 @@ + + + + + testtools.helpers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Functionmap_valuesMap function across the values of dictionary.
Functionfilter_valuesFilter dictionary by its values using function.
Functiondict_subtractReturn the part of a that's not in b.
Functionlist_subtractReturn a list a without the elements of b.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + map_values(function, dictionary): + +
+
+ +
Map function across the values of dictionary.
ReturnsA dict with the same keys as dictionary, where the value +of each key k is function(dictionary[k]).
+
+
+ + + + + + +
+ + def + filter_values(function, dictionary): + +
+
+ +
Filter dictionary by its values using function.
+
+
+ + + + + + +
+ + def + dict_subtract(a, b): + +
+
+ +
Return the part of a that's not in b.
+
+
+ + + + + + +
+ + def + list_subtract(a, b): + +
+
+ +

Return a list a without the elements of b.

+

If a particular value is in a twice and b once then the returned +list then that value will appear once in the returned list.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.html b/apidocs/testtools.html new file mode 100644 index 0000000..517deb8 --- /dev/null +++ b/apidocs/testtools.html @@ -0,0 +1,212 @@ + + + + + testtools : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Extensions to the standard Python unittest library.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ModuleassertionsNo module docstring; 1/1 functions documented
ModulecompatCompatibility support for python 2 and 3.
ModulecontentContent - a MIME-like Content object.
Modulecontent_typeContentType - a MIME Content Type.
ModuledeferredruntestIndividual test case execution for tests that return Deferreds.
ModuledistutilscmdExtensions to the standard Python unittest library.
ModulehelpersNo module docstring; 4/4 functions documented
PackagematchersAll the matchers.
ModulemonkeyHelpers for monkey-patching Python code.
Modulerunpython -m testtools.run testspec [testspec...]
ModuleruntestIndividual test case execution.
ModuletagsTag support.
ModuletestcaseTest case related stuff.
PackagetestresultTest result objects.
PackagetestsTests for testtools itself.
ModuletestsuiteTest suites and related things.
ModuleutilsUtilities for dealing with stuff in unittest.
Module_compat2xCompatibility helpers that are valid syntax in Python 2.x.
Module_compat3xCompatibility helpers that are valid syntax in Python 3.x.
Module_spinnerEvil reactor-spinning logic for running Twisted tests.
+ + +

From the __init__.py module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassDecorateTestCaseResultDecorate a TestCase and permit customisation of the result for runs.
FunctionErrorHolderConstruct an ErrorHolder.
ClassFixtureSuiteUndocumented
ClassPlaceHolderA placeholder test.
ClassTestCommandCommand to run unit tests with testtools
+
+ +
+ +
+ + + + + + +
+ + def + ErrorHolder(test_id, error, short_description=None, details=None): + +
+
+ +
Construct an ErrorHolder.
Parameterstest_idThe id of the test.
errorThe exc info tuple that will be used as the test's error. +This is inserted into the details as 'traceback' - any existing key +will be overridden.
short_descriptionAn optional short description of the test.
detailsOutcome details as accepted by addSuccess etc.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.ContainedByDict.html b/apidocs/testtools.matchers.ContainedByDict.html new file mode 100644 index 0000000..78b24e3 --- /dev/null +++ b/apidocs/testtools.matchers.ContainedByDict.html @@ -0,0 +1,98 @@ + + + + + testtools.matchers.ContainedByDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match a dictionary for which this is a super-dictionary.

+

Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have only +these keys, and the values must match the corresponding matchers in the +expected dict. Dictionaries that have fewer keys can also match.

+

In other words, any matching dictionary must be contained by the +dictionary given to the constructor.

+

Does not check for strict super-dictionary. That is, equal dictionaries +match.

+
+ +
+ + +

+ Inherited from _CombinedMatcher: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodformat_expectedUndocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.ContainsDict.html b/apidocs/testtools.matchers.ContainsDict.html new file mode 100644 index 0000000..47506e2 --- /dev/null +++ b/apidocs/testtools.matchers.ContainsDict.html @@ -0,0 +1,98 @@ + + + + + testtools.matchers.ContainsDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match a dictionary for that contains a specified sub-dictionary.

+

Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have at +least these keys, and the values must match the corresponding matchers +in the expected dict. Dictionaries that have more keys will also match.

+

In other words, any matching dictionary must contain the dictionary given +to the constructor.

+

Does not check for strict sub-dictionary. That is, equal dictionaries +match.

+
+ +
+ + +

+ Inherited from _CombinedMatcher: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodformat_expectedUndocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.DirContains.html b/apidocs/testtools.matchers.DirContains.html new file mode 100644 index 0000000..a456c24 --- /dev/null +++ b/apidocs/testtools.matchers.DirContains.html @@ -0,0 +1,130 @@ + + + + + testtools.matchers.DirContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if the given directory contains files with the given names.

+

That is, is the directory listing exactly equal to the given files?

+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a DirContains matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, filenames=None, matcher=None): + +
+
+ +

Construct a DirContains matcher.

+

Can be used in a basic mode where the whole directory listing is +matched against an expected directory listing (by passing +filenames). Can also be used in a more advanced way where the +whole directory listing is matched against an arbitrary matcher (by +passing matcher instead).

ParametersfilenamesIf specified, match the sorted directory listing +against this list of filenames, sorted.
matcherIf specified, match the sorted directory listing +against this matcher.
+
+
+ + + + + + +
+ + def + match(self, path): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.MatchesDict.html b/apidocs/testtools.matchers.MatchesDict.html new file mode 100644 index 0000000..fa9db2b --- /dev/null +++ b/apidocs/testtools.matchers.MatchesDict.html @@ -0,0 +1,94 @@ + + + + + testtools.matchers.MatchesDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match a dictionary exactly, by its keys.

+

Specify a dictionary mapping keys (often strings) to matchers. This is +the 'expected' dict. Any dictionary that matches this must have exactly +the same keys, and the values must match the corresponding matchers in the +expected dict.

+
+ +
+ + +

+ Inherited from _CombinedMatcher: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodformat_expectedUndocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.MatchesPredicate.html b/apidocs/testtools.matchers.MatchesPredicate.html new file mode 100644 index 0000000..5b54724 --- /dev/null +++ b/apidocs/testtools.matchers.MatchesPredicate.html @@ -0,0 +1,144 @@ + + + + + testtools.matchers.MatchesPredicate : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match if a given function returns True.

+

It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given a single +argument (i.e. a predicate function). This matcher makes it very easy to +do so. e.g.:

+
+IsEven = MatchesPredicate(lambda x: x % 2 == 0, '%s is not even')
+self.assertThat(4, IsEven)
+
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a MatchesPredicate matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, predicate, message): + +
+
+ +
Create a MatchesPredicate matcher.
ParameterspredicateA function that takes a single argument and returns +a value that will be interpreted as a boolean.
messageA message to describe a mismatch. It will be formatted +with '%' and be given whatever was passed to match(). Thus, it +needs to contain exactly one thing like '%s', '%d' or '%f'.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, x): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.__init__.html b/apidocs/testtools.matchers.__init__.html new file mode 100644 index 0000000..4e753c1 --- /dev/null +++ b/apidocs/testtools.matchers.__init__.html @@ -0,0 +1,133 @@ + + + + + testtools.matchers.__init__ : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

All the matchers.

+

Matchers, a way to express complex assertions outside the testcase.

+

Inspired by 'hamcrest'.

+

Matcher provides the abstract API that all matchers need to implement.

+

Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassContainedByDictMatch a dictionary for which this is a super-dictionary.
ClassContainsDictMatch a dictionary for that contains a specified sub-dictionary.
ClassMatchesDictMatch a dictionary exactly, by its keys.
ClassDirContainsMatches if the given directory contains files with the given names.
ClassMatchesPredicateMatch if a given function returns True.
FunctionMatchesPredicateWithParamsMatch if a given parameterised function returns True.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + MatchesPredicateWithParams(predicate, message, name=None): + +
+
+ +

Match if a given parameterised function returns True.

+

It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given some +arguments. This matcher makes it very easy to do so. e.g.:

+
+HasLength = MatchesPredicate(
+    lambda x, y: len(x) == y, 'len({0}) is not {1}')
+# This assertion will fail, as 'len([1, 2]) == 3' is False.
+self.assertThat([1, 2], HasLength(3))
+
+

Note that unlike MatchesPredicate MatchesPredicateWithParams returns a +factory which you then customise to use by constructing an actual matcher +from it.

+

The predicate function should take the object to match as its first +parameter. Any additional parameters supplied when constructing a matcher +are supplied to the predicate as additional parameters when checking for a +match.

ParameterspredicateThe predicate function.
messageA format string for describing mis-matches.
nameOptional replacement name for the matcher.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Contains.html b/apidocs/testtools.matchers._basic.Contains.html new file mode 100644 index 0000000..5708ad0 --- /dev/null +++ b/apidocs/testtools.matchers._basic.Contains.html @@ -0,0 +1,133 @@ + + + + + testtools.matchers._basic.Contains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Checks whether something is contained in another thing.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a Contains Matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, needle): + +
+
+ +
Create a Contains Matcher.
Parametersneedlethe thing that needs to be contained by matchees.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotContain.html b/apidocs/testtools.matchers._basic.DoesNotContain.html new file mode 100644 index 0000000..43a6943 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotContain.html @@ -0,0 +1,130 @@ + + + + + testtools.matchers._basic.DoesNotContain : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a DoesNotContain Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchee, needle): + +
+
+ +
Create a DoesNotContain Mismatch.
Parametersmatcheethe object that did not contain needle.
needlethe needle that 'matchee' was expected to contain.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotEndWith.html b/apidocs/testtools.matchers._basic.DoesNotEndWith.html new file mode 100644 index 0000000..81a8431 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotEndWith.html @@ -0,0 +1,130 @@ + + + + + testtools.matchers._basic.DoesNotEndWith : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a DoesNotEndWith Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchee, expected): + +
+
+ +
Create a DoesNotEndWith Mismatch.
Parametersmatcheethe string that did not match.
expectedthe string that 'matchee' was expected to end with.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.DoesNotStartWith.html b/apidocs/testtools.matchers._basic.DoesNotStartWith.html new file mode 100644 index 0000000..5e14c14 --- /dev/null +++ b/apidocs/testtools.matchers._basic.DoesNotStartWith.html @@ -0,0 +1,130 @@ + + + + + testtools.matchers._basic.DoesNotStartWith : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a DoesNotStartWith Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchee, expected): + +
+
+ +
Create a DoesNotStartWith Mismatch.
Parametersmatcheethe string that did not match.
expectedthe string that 'matchee' was expected to start with.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.EndsWith.html b/apidocs/testtools.matchers._basic.EndsWith.html new file mode 100644 index 0000000..35b1749 --- /dev/null +++ b/apidocs/testtools.matchers._basic.EndsWith.html @@ -0,0 +1,133 @@ + + + + + testtools.matchers._basic.EndsWith : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Checks whether one string ends with another.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a EndsWith Matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected): + +
+
+ +
Create a EndsWith Matcher.
Parametersexpectedthe string that matchees should end with.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Equals.html b/apidocs/testtools.matchers._basic.Equals.html new file mode 100644 index 0000000..6eac03a --- /dev/null +++ b/apidocs/testtools.matchers._basic.Equals.html @@ -0,0 +1,90 @@ + + + + + testtools.matchers._basic.Equals : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the items are equal.
+
+ +
+ + +

+ Inherited from _BinaryComparison: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.GreaterThan.html b/apidocs/testtools.matchers._basic.GreaterThan.html new file mode 100644 index 0000000..2df63c9 --- /dev/null +++ b/apidocs/testtools.matchers._basic.GreaterThan.html @@ -0,0 +1,90 @@ + + + + + testtools.matchers._basic.GreaterThan : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the item is greater than the matchers reference object.
+
+ +
+ + +

+ Inherited from _BinaryComparison: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.Is.html b/apidocs/testtools.matchers._basic.Is.html new file mode 100644 index 0000000..5ff9d65 --- /dev/null +++ b/apidocs/testtools.matchers._basic.Is.html @@ -0,0 +1,90 @@ + + + + + testtools.matchers._basic.Is : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the items are identical.
+
+ +
+ + +

+ Inherited from _BinaryComparison: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.IsInstance.html b/apidocs/testtools.matchers._basic.IsInstance.html new file mode 100644 index 0000000..5d8d7b8 --- /dev/null +++ b/apidocs/testtools.matchers._basic.IsInstance.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._basic.IsInstance : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matcher that wraps isinstance.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *types): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, other): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.LessThan.html b/apidocs/testtools.matchers._basic.LessThan.html new file mode 100644 index 0000000..b0debb7 --- /dev/null +++ b/apidocs/testtools.matchers._basic.LessThan.html @@ -0,0 +1,90 @@ + + + + + testtools.matchers._basic.LessThan : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the item is less than the matchers reference object.
+
+ +
+ + +

+ Inherited from _BinaryComparison: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.MatchesRegex.html b/apidocs/testtools.matchers._basic.MatchesRegex.html new file mode 100644 index 0000000..4517ef2 --- /dev/null +++ b/apidocs/testtools.matchers._basic.MatchesRegex.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._basic.MatchesRegex : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the matchee is matched by a regular expression.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, pattern, flags=0): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, value): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.NotAnInstance.html b/apidocs/testtools.matchers._basic.NotAnInstance.html new file mode 100644 index 0000000..b809996 --- /dev/null +++ b/apidocs/testtools.matchers._basic.NotAnInstance.html @@ -0,0 +1,130 @@ + + + + + testtools.matchers._basic.NotAnInstance : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a NotAnInstance Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchee, types): + +
+
+ +
Create a NotAnInstance Mismatch.
Parametersmatcheethe thing which is not an instance of any of types.
typesA tuple of the types which were expected.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.NotEquals.html b/apidocs/testtools.matchers._basic.NotEquals.html new file mode 100644 index 0000000..ecd4b35 --- /dev/null +++ b/apidocs/testtools.matchers._basic.NotEquals.html @@ -0,0 +1,92 @@ + + + + + testtools.matchers._basic.NotEquals : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if the items are not equal.

+

In most cases, this is equivalent to Not(Equals(foo)). The difference +only matters when testing __ne__ implementations.

+
+ +
+ + +

+ Inherited from _BinaryComparison: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.SameMembers.html b/apidocs/testtools.matchers._basic.SameMembers.html new file mode 100644 index 0000000..b2ae93f --- /dev/null +++ b/apidocs/testtools.matchers._basic.SameMembers.html @@ -0,0 +1,135 @@ + + + + + testtools.matchers._basic.SameMembers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if two iterators have the same members.

+

This is not the same as set equivalence. The two iterators must be of the +same length and have the same repetitions.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.StartsWith.html b/apidocs/testtools.matchers._basic.StartsWith.html new file mode 100644 index 0000000..68cdf4a --- /dev/null +++ b/apidocs/testtools.matchers._basic.StartsWith.html @@ -0,0 +1,133 @@ + + + + + testtools.matchers._basic.StartsWith : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Checks whether one string starts with another.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a StartsWith Matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected): + +
+
+ +
Create a StartsWith Matcher.
Parametersexpectedthe string that matchees should start with.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic._BinaryComparison.html b/apidocs/testtools.matchers._basic._BinaryComparison.html new file mode 100644 index 0000000..ebe1db0 --- /dev/null +++ b/apidocs/testtools.matchers._basic._BinaryComparison.html @@ -0,0 +1,153 @@ + + + + + testtools.matchers._basic._BinaryComparison : API documentation + + + + + + + + + +
+ + + + + +
+
Matcher that compares an object to another object.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
MethodcomparatorUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, other): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + comparator(self, expected, other): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic._BinaryMismatch.html b/apidocs/testtools.matchers._basic._BinaryMismatch.html new file mode 100644 index 0000000..548c003 --- /dev/null +++ b/apidocs/testtools.matchers._basic._BinaryMismatch.html @@ -0,0 +1,132 @@ + + + + + testtools.matchers._basic._BinaryMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Two things did not match.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected, mismatch_string, other): + +
+
+ +
Construct a Mismatch.
ParametersdescriptionA description to use. If not provided, +Mismatch.describe must be implemented.
detailsExtra details about the mismatch. Defaults +to the empty dict.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._basic.html b/apidocs/testtools.matchers._basic.html new file mode 100644 index 0000000..368351a --- /dev/null +++ b/apidocs/testtools.matchers._basic.html @@ -0,0 +1,195 @@ + + + + + testtools.matchers._basic : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassEqualsMatches if the items are equal.
ClassNotEqualsMatches if the items are not equal.
ClassIsMatches if the items are identical.
ClassLessThanMatches if the item is less than the matchers reference object.
ClassGreaterThanMatches if the item is greater than the matchers reference object.
ClassSameMembersMatches if two iterators have the same members.
ClassDoesNotStartWithNo class docstring; 1/2 methods documented
ClassStartsWithChecks whether one string starts with another.
ClassDoesNotEndWithNo class docstring; 1/2 methods documented
ClassEndsWithChecks whether one string ends with another.
ClassIsInstanceMatcher that wraps isinstance.
ClassNotAnInstanceNo class docstring; 1/2 methods documented
ClassDoesNotContainNo class docstring; 1/2 methods documented
ClassContainsChecks whether something is contained in another thing.
ClassMatchesRegexMatches if the matchee is matched by a regular expression.
Functionhas_lenUndocumented
Function_formatBlocks of text with newlines are formatted as triple-quote strings. Everything else is pretty-printed.
Class_BinaryComparisonMatcher that compares an object to another object.
Class_BinaryMismatchTwo things did not match.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _format(thing): + +
+
+ +
Blocks of text with newlines are formatted as triple-quote +strings. Everything else is pretty-printed.
+
+
+ + + + + + +
+ + def + has_len(x, y): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesListwise.html b/apidocs/testtools.matchers._datastructures.MatchesListwise.html new file mode 100644 index 0000000..c00ca99 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesListwise.html @@ -0,0 +1,123 @@ + + + + + testtools.matchers._datastructures.MatchesListwise : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if each matcher matches the corresponding value.

+

More easily explained by example than in words:

+
+>>> from ._basic import Equals
+>>> MatchesListwise([Equals(1)]).match([1])
+>>> MatchesListwise([Equals(1), Equals(2)]).match([1, 2])
+>>> print (MatchesListwise([Equals(1), Equals(2)]).match([2, 1]).describe())
+Differences: [
+1 != 2
+2 != 1
+]
+>>> matcher = MatchesListwise([Equals(1), Equals(2)], first_only=True)
+>>> print (matcher.match([3, 4]).describe())
+1 != 3
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a MatchesListwise matcher.
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchers, first_only=False): + +
+
+ +
Construct a MatchesListwise matcher.
ParametersmatchersA list of matcher that the matched values must match.
first_onlyIf True, then only report the first mismatch, +otherwise report all of them. Defaults to False.
+
+
+ + + + + + +
+ + def + match(self, values): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesSetwise.html b/apidocs/testtools.matchers._datastructures.MatchesSetwise.html new file mode 100644 index 0000000..02f30b5 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesSetwise.html @@ -0,0 +1,113 @@ + + + + + testtools.matchers._datastructures.MatchesSetwise : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if all the matchers match elements of the value being matched.

+

That is, each element in the 'observed' set must match exactly one matcher +from the set of matchers, with no matchers left over.

+

The difference compared to MatchesListwise is that the order of the +matchings does not matter.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *matchers): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.MatchesStructure.html b/apidocs/testtools.matchers._datastructures.MatchesStructure.html new file mode 100644 index 0000000..ad5d55b --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.MatchesStructure.html @@ -0,0 +1,232 @@ + + + + + testtools.matchers._datastructures.MatchesStructure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matcher that matches an object structurally.

+

'Structurally' here means that attributes of the object being matched are +compared against given matchers.

+

fromExample allows the creation of a matcher from a prototype object and +then modified versions can be created with update.

+

byEquality creates a matcher in much the same way as the constructor, +except that the matcher for each of the attributes is assumed to be +Equals.

+

byMatcher creates a similar matcher to byEquality, but you get to pick +the matcher, rather than just using Equals.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a MatchesStructure.
Class MethodbyEqualityMatches an object where the attributes equal the keyword values.
Class MethodbyMatcherMatches an object where the attributes match the keyword values.
Class MethodfromExampleUndocumented
MethodupdateUndocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, **kwargs): + +
+
+ +
Construct a MatchesStructure.
ParameterskwargsA mapping of attributes to matchers.
+
+
+ + + + + + +
+ @classmethod
+ def + byEquality(cls, **kwargs): + +
+
+ +

Matches an object where the attributes equal the keyword values.

+

Similar to the constructor, except that the matcher is assumed to be +Equals.

+
+
+ + + + + + +
+ @classmethod
+ def + byMatcher(cls, matcher, **kwargs): + +
+
+ +

Matches an object where the attributes match the keyword values.

+

Similar to the constructor, except that the provided matcher is used +to match all of the values.

+
+
+ + + + + + +
+ @classmethod
+ def + fromExample(cls, example, *attributes): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + update(self, **kws): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, value): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._datastructures.html b/apidocs/testtools.matchers._datastructures.html new file mode 100644 index 0000000..f83dd62 --- /dev/null +++ b/apidocs/testtools.matchers._datastructures.html @@ -0,0 +1,105 @@ + + + + + testtools.matchers._datastructures : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FunctionContainsAllMake a matcher that checks whether a list of things is contained in another thing.
ClassMatchesListwiseMatches if each matcher matches the corresponding value.
ClassMatchesStructureMatcher that matches an object structurally.
ClassMatchesSetwiseMatches if all the matchers match elements of the value being matched.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + ContainsAll(items): + +
+
+ +

Make a matcher that checks whether a list of things is contained +in another thing.

+

The matcher effectively checks that the provided sequence is a subset of +the matchee.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.DictMismatches.html b/apidocs/testtools.matchers._dict.DictMismatches.html new file mode 100644 index 0000000..d7e4ddd --- /dev/null +++ b/apidocs/testtools.matchers._dict.DictMismatches.html @@ -0,0 +1,132 @@ + + + + + testtools.matchers._dict.DictMismatches : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A mismatch with a dict of child mismatches.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, mismatches, details=None): + +
+
+ +
Construct a Mismatch.
ParametersdescriptionA description to use. If not provided, +Mismatch.describe must be implemented.
detailsExtra details about the mismatch. Defaults +to the empty dict.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.KeysEqual.html b/apidocs/testtools.matchers._dict.KeysEqual.html new file mode 100644 index 0000000..77613ee --- /dev/null +++ b/apidocs/testtools.matchers._dict.KeysEqual.html @@ -0,0 +1,135 @@ + + + + + testtools.matchers._dict.KeysEqual : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Checks whether a dict has particular keys.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a KeysEqual Matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *expected): + +
+
+ +
Create a KeysEqual Matcher.
ParametersexpectedThe keys the dict is expected to have. If a dict, +then we use the keys of that dict, if a collection, we assume it +is a collection of expected keys.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.MatchesAllDict.html b/apidocs/testtools.matchers._dict.MatchesAllDict.html new file mode 100644 index 0000000..a6d4684 --- /dev/null +++ b/apidocs/testtools.matchers._dict.MatchesAllDict.html @@ -0,0 +1,135 @@ + + + + + testtools.matchers._dict.MatchesAllDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if all of the matchers it is created with match.

+

A lot like MatchesAll, but takes a dict of Matchers and labels any +mismatches with the key of the dictionary.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchers): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._CombinedMatcher.html b/apidocs/testtools.matchers._dict._CombinedMatcher.html new file mode 100644 index 0000000..c8b12fe --- /dev/null +++ b/apidocs/testtools.matchers._dict._CombinedMatcher.html @@ -0,0 +1,159 @@ + + + + + testtools.matchers._dict._CombinedMatcher : API documentation + + + + + + + + + +
+ + + + + +
+

Many matchers labelled and combined into one uber-matcher.

+

Subclass this and then specify a dict of matcher factories that take a +single 'expected' value and return a matcher. The subclass will match +only if all of the matchers made from factories match.

+

Not entirely dissimilar from MatchesAll.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodformat_expectedUndocumented
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, expected): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + format_expected(self, expected): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._MatchCommonKeys.html b/apidocs/testtools.matchers._dict._MatchCommonKeys.html new file mode 100644 index 0000000..a30b409 --- /dev/null +++ b/apidocs/testtools.matchers._dict._MatchCommonKeys.html @@ -0,0 +1,153 @@ + + + + + testtools.matchers._dict._MatchCommonKeys : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match on keys in a dictionary.

+

Given a dictionary where the values are matchers, this will look for +common keys in the matched dictionary and match if and only if all common +keys match the given matchers.

+

Thus:

+
+>>> structure = {'a': Equals('x'), 'b': Equals('y')}
+>>> _MatchCommonKeys(structure).match({'a': 'x', 'c': 'z'})
+None
+
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
Method_compare_dictsUndocumented
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, dict_of_matchers): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _compare_dicts(self, expected, observed): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._SubDictOf.html b/apidocs/testtools.matchers._dict._SubDictOf.html new file mode 100644 index 0000000..1c58bf2 --- /dev/null +++ b/apidocs/testtools.matchers._dict._SubDictOf.html @@ -0,0 +1,122 @@ + + + + + testtools.matchers._dict._SubDictOf : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the matched dict only has keys that are in given dict.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, super_dict, format_value=repr): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict._SuperDictOf.html b/apidocs/testtools.matchers._dict._SuperDictOf.html new file mode 100644 index 0000000..e9272c5 --- /dev/null +++ b/apidocs/testtools.matchers._dict._SuperDictOf.html @@ -0,0 +1,122 @@ + + + + + testtools.matchers._dict._SuperDictOf : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if all of the keys in the given dict are in the matched dict.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, sub_dict, format_value=repr): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, super_dict): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._dict.html b/apidocs/testtools.matchers._dict.html new file mode 100644 index 0000000..ff81040 --- /dev/null +++ b/apidocs/testtools.matchers._dict.html @@ -0,0 +1,166 @@ + + + + + testtools.matchers._dict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionLabelledMismatchesA collection of mismatches, each labelled.
ClassMatchesAllDictMatches if all of the matchers it is created with match.
ClassDictMismatchesA mismatch with a dict of child mismatches.
ClassKeysEqualChecks whether a dict has particular keys.
Function_dict_to_mismatchUndocumented
Class_MatchCommonKeysMatch on keys in a dictionary.
Class_SubDictOfMatches if the matched dict only has keys that are in given dict.
Class_SuperDictOfMatches if all of the keys in the given dict are in the matched dict.
Function_format_matcher_dictUndocumented
Class_CombinedMatcherMany matchers labelled and combined into one uber-matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + LabelledMismatches(mismatches, details=None): + +
+
+ +
A collection of mismatches, each labelled.
+
+
+ + + + + + +
+ + def + _dict_to_mismatch(data, to_mismatch=None, result_mismatch=DictMismatches): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _format_matcher_dict(matchers): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.DocTestMatches.html b/apidocs/testtools.matchers._doctest.DocTestMatches.html new file mode 100644 index 0000000..bb00e48 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.DocTestMatches.html @@ -0,0 +1,176 @@ + + + + + testtools.matchers._doctest.DocTestMatches : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
See if a string matches a doctest example.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a DocTestMatches to match example.
Method__str__Undocumented
MethodmatchUndocumented
Method_with_nlUndocumented
Method_describe_differenceUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, example, flags=0): + +
+
+ +
Create a DocTestMatches to match example.
ParametersexampleThe example to match e.g. 'foo bar baz'
flagsdoctest comparison flags to match on. e.g. +doctest.ELLIPSIS.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _with_nl(self, actual): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, actual): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _describe_difference(self, with_nl): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.DocTestMismatch.html b/apidocs/testtools.matchers._doctest.DocTestMismatch.html new file mode 100644 index 0000000..ab90443 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.DocTestMismatch.html @@ -0,0 +1,132 @@ + + + + + testtools.matchers._doctest.DocTestMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Mismatch object for DocTestMatches.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher, with_nl): + +
+
+ +
Construct a Mismatch.
ParametersdescriptionA description to use. If not provided, +Mismatch.describe must be implemented.
detailsExtra details about the mismatch. Defaults +to the empty dict.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html b/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html new file mode 100644 index 0000000..86e8dfd --- /dev/null +++ b/apidocs/testtools.matchers._doctest._NonManglingOutputChecker.html @@ -0,0 +1,123 @@ + + + + + testtools.matchers._doctest._NonManglingOutputChecker : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Doctest checker that works with unicode rather than mangling strings

+

This is needed because current Python versions have tried to fix string +encoding related problems, but regressed the default behaviour with +unicode inputs in the process.

+

In Python 2.6 and 2.7 OutputChecker.output_difference is was changed +to return a bytestring encoded as per sys.stdout.encoding, or utf-8 if +that can't be determined. Worse, that encoding process happens in the +innocent looking _indent global function. Because the +DocTestMismatch.describe result may well not be destined for printing to +stdout, this is no good for us. To get a unicode return as before, the +method is monkey patched if doctest._encoding exists.

+

Python 3 has a different problem. For some reason both inputs are encoded +to ascii with 'backslashreplace', making an escaped string matches its +unescaped form. Overriding the offending OutputChecker._toAscii method +is sufficient to revert this.

+
+ +
+ + + + + + + + + + + + + +
Method_toAsciiReturn s unchanged rather than mangling it to ascii
Method_indentPrepend non-empty lines in s with indent number of spaces
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _toAscii(self, s): + +
+
+ +
Return s unchanged rather than mangling it to ascii
+
+
+ + + + + + +
+ + def + _indent(s, indent=4, _pattern=re.compile('^(?!$)', re.MULTILINE)): + +
+
+ +
Prepend non-empty lines in s with indent number of spaces
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._doctest.html b/apidocs/testtools.matchers._doctest.html new file mode 100644 index 0000000..c4132e7 --- /dev/null +++ b/apidocs/testtools.matchers._doctest.html @@ -0,0 +1,80 @@ + + + + + testtools.matchers._doctest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + +
ClassDocTestMatchesSee if a string matches a doctest example.
ClassDocTestMismatchMismatch object for DocTestMatches.
Class_NonManglingOutputCheckerDoctest checker that works with unicode rather than mangling strings
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.MatchesException.html b/apidocs/testtools.matchers._exception.MatchesException.html new file mode 100644 index 0000000..121d771 --- /dev/null +++ b/apidocs/testtools.matchers._exception.MatchesException.html @@ -0,0 +1,141 @@ + + + + + testtools.matchers._exception.MatchesException : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Match an exc_info tuple against an exception instance or type.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a MatchesException that will match exc_info's for exception.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, exception, value_re=None): + +
+
+ +
Create a MatchesException that will match exc_info's for exception.
ParametersexceptionEither an exception instance or type. +If an instance is given, the type and arguments of the exception +are checked. If a type is given only the type of the exception is +checked. If a tuple is given, then as with isinstance, any of the +types in the tuple matching is sufficient to match.
value_reIf 'exception' is a type, and the matchee exception +is of the right type, then match against this. If value_re is a +string, then assume value_re is a regular expression and match +the str() of the exception against it. Otherwise, assume value_re +is a matcher, and match the exception against it.
+
+
+ + + + + + +
+ + def + match(self, other): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.Raises.html b/apidocs/testtools.matchers._exception.Raises.html new file mode 100644 index 0000000..aaa8cde --- /dev/null +++ b/apidocs/testtools.matchers._exception.Raises.html @@ -0,0 +1,139 @@ + + + + + testtools.matchers._exception.Raises : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match if the matchee raises an exception when called.

+

Exceptions which are not subclasses of Exception propogate out of the +Raises.match call unless they are explicitly matched.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a Raises matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, exception_matcher=None): + +
+
+ +
Create a Raises matcher.
Parametersexception_matcherOptional validator for the exception raised +by matchee. If supplied the exc_info tuple for the exception raised +is passed into that matcher. If no exception_matcher is supplied +then the simple fact of raising an exception is considered enough +to match on.
+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._exception.html b/apidocs/testtools.matchers._exception.html new file mode 100644 index 0000000..34f43d9 --- /dev/null +++ b/apidocs/testtools.matchers._exception.html @@ -0,0 +1,146 @@ + + + + + testtools.matchers._exception : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassMatchesExceptionMatch an exc_info tuple against an exception instance or type.
ClassRaisesMatch if the matchee raises an exception when called.
FunctionraisesMake a matcher that checks that a callable raises an exception.
Function_is_exceptionUndocumented
Function_is_user_exceptionUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _is_exception(exc): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _is_user_exception(exc): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + raises(exception): + +
+
+ +

Make a matcher that checks that a callable raises an exception.

+

This is a convenience function, exactly equivalent to:

+
+return Raises(MatchesException(exception))
+
+

See Raises and MatchesException for more information.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.FileContains.html b/apidocs/testtools.matchers._filesystem.FileContains.html new file mode 100644 index 0000000..82bc839 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.FileContains.html @@ -0,0 +1,139 @@ + + + + + testtools.matchers._filesystem.FileContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if the given file has the specified contents.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Construct a FileContains matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, contents=None, matcher=None): + +
+
+ +

Construct a FileContains matcher.

+

Can be used in a basic mode where the file contents are compared for +equality against the expected file contents (by passing contents). +Can also be used in a more advanced way where the file contents are +matched against an arbitrary matcher (by passing matcher instead).

ParameterscontentsIf specified, match the contents of the file with +these contents.
matcherIf specified, match the contents of the file against +this matcher.
+
+
+ + + + + + +
+ + def + match(self, path): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.HasPermissions.html b/apidocs/testtools.matchers._filesystem.HasPermissions.html new file mode 100644 index 0000000..f15e094 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.HasPermissions.html @@ -0,0 +1,124 @@ + + + + + testtools.matchers._filesystem.HasPermissions : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if a file has the given permissions.

+

Permissions are specified and matched as a four-digit octal string.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a HasPermissions matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, octal_permissions): + +
+
+ +
Construct a HasPermissions matcher.
Parametersoctal_permissionsA four digit octal string, representing the +intended access permissions. e.g. '0775' for rwxrwxr-x.
+
+
+ + + + + + +
+ + def + match(self, filename): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.SamePath.html b/apidocs/testtools.matchers._filesystem.SamePath.html new file mode 100644 index 0000000..231c6c1 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.SamePath.html @@ -0,0 +1,124 @@ + + + + + testtools.matchers._filesystem.SamePath : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if two paths are the same.

+

That is, the paths are equal, or they point to the same file but in +different ways. The paths do not have to exist.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, path): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, other_path): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.TarballContains.html b/apidocs/testtools.matchers._filesystem.TarballContains.html new file mode 100644 index 0000000..d860489 --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.TarballContains.html @@ -0,0 +1,123 @@ + + + + + testtools.matchers._filesystem.TarballContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matches if the given tarball contains the given paths.

+

Uses TarFile.getnames() to get the paths out of the tarball.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ +

+ Inherited from Matcher: +

+ + + + + + + + +
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, paths): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, tarball_path): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._filesystem.html b/apidocs/testtools.matchers._filesystem.html new file mode 100644 index 0000000..ace8f4b --- /dev/null +++ b/apidocs/testtools.matchers._filesystem.html @@ -0,0 +1,155 @@ + + + + + testtools.matchers._filesystem : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matchers for things related to the filesystem.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionPathExistsMatches if the given path exists.
FunctionDirExistsMatches if the path exists and is a directory.
FunctionFileExistsMatches if the given path exists and is a file.
ClassFileContainsMatches if the given file has the specified contents.
ClassHasPermissionsMatches if a file has the given permissions.
ClassSamePathMatches if two paths are the same.
ClassTarballContainsMatches if the given tarball contains the given paths.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + PathExists(): + +
+
+ +

Matches if the given path exists.

+

Use like this:

+
+assertThat('/some/path', PathExists())
+
+
+
+ + + + + + +
+ + def + DirExists(): + +
+
+ +
Matches if the path exists and is a directory.
+
+
+ + + + + + +
+ + def + FileExists(): + +
+
+ +
Matches if the given path exists and is a file.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html b/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html new file mode 100644 index 0000000..eee5b84 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AfterPreprocessing.html @@ -0,0 +1,164 @@ + + + + + testtools.matchers._higherorder.AfterPreprocessing : API documentation + + + + + + + + + +
+ + + + + +
+

Matches if the value matches after passing through a function.

+

This can be used to aid in creating trivial matchers as functions, for +example:

+
+def PathHasFileContent(content):
+    def _read(path):
+        return open(path).read()
+    return AfterPreprocessing(_read, Equals(content))
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create an AfterPreprocessing matcher.
Method__str__Undocumented
MethodmatchUndocumented
Method_str_preprocessorUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, preprocessor, matcher, annotate=True): + +
+
+ +
Create an AfterPreprocessing matcher.
ParameterspreprocessorA function called with the matchee before +matching.
matcherWhat to match the preprocessed matchee against.
annotateWhether or not to annotate the matcher with +something explaining how we transformed the matchee. Defaults +to True.
+
+
+ + + + + + +
+ + def + _str_preprocessor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, value): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AllMatch.html b/apidocs/testtools.matchers._higherorder.AllMatch.html new file mode 100644 index 0000000..20b3290 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AllMatch.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._higherorder.AllMatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if all provided values match the given matcher.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, values): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.Annotate.html b/apidocs/testtools.matchers._higherorder.Annotate.html new file mode 100644 index 0000000..c9df4db --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.Annotate.html @@ -0,0 +1,154 @@ + + + + + testtools.matchers._higherorder.Annotate : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Annotates a matcher with a descriptive string.

+

Mismatches are then described as '<mismatch>: <annotation>'.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Class Methodif_messageAnnotate matcher only if annotation is non-empty.
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, annotation, matcher): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @classmethod
+ def + if_message(cls, annotation, matcher): + +
+
+ +
Annotate matcher only if annotation is non-empty.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, other): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.AnyMatch.html b/apidocs/testtools.matchers._higherorder.AnyMatch.html new file mode 100644 index 0000000..4ab3b14 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.AnyMatch.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._higherorder.AnyMatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if any of the provided values match the given matcher.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, values): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html b/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html new file mode 100644 index 0000000..1004faa --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchedUnexpectedly.html @@ -0,0 +1,132 @@ + + + + + testtools.matchers._higherorder.MatchedUnexpectedly : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A thing matched when it wasn't supposed to.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher, other): + +
+
+ +
Construct a Mismatch.
ParametersdescriptionA description to use. If not provided, +Mismatch.describe must be implemented.
detailsExtra details about the mismatch. Defaults +to the empty dict.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchesAll.html b/apidocs/testtools.matchers._higherorder.MatchesAll.html new file mode 100644 index 0000000..a868a22 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchesAll.html @@ -0,0 +1,135 @@ + + + + + testtools.matchers._higherorder.MatchesAll : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if all of the matchers it is created with match.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Construct a MatchesAll matcher.
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *matchers, **options): + +
+
+ +

Construct a MatchesAll matcher.

+

Just list the component matchers as arguments in the *args +style. If you want only the first mismatch to be reported, past in +first_only=True as a keyword argument. By default, all mismatches are +reported.

+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MatchesAny.html b/apidocs/testtools.matchers._higherorder.MatchesAny.html new file mode 100644 index 0000000..382f34f --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MatchesAny.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._higherorder.MatchesAny : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Matches if any of the matchers it is created with match.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchUndocumented
Method__str__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *matchers): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, matchee): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.MismatchesAll.html b/apidocs/testtools.matchers._higherorder.MismatchesAll.html new file mode 100644 index 0000000..630c56d --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.MismatchesAll.html @@ -0,0 +1,132 @@ + + + + + testtools.matchers._higherorder.MismatchesAll : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A mismatch with many child mismatches.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
+ +

+ Inherited from Mismatch: +

+ + + + + + + + + + + + + +
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, mismatches, wrap=True): + +
+
+ +
Construct a Mismatch.
ParametersdescriptionA description to use. If not provided, +Mismatch.describe must be implemented.
detailsExtra details about the mismatch. Defaults +to the empty dict.
+
+
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.Not.html b/apidocs/testtools.matchers._higherorder.Not.html new file mode 100644 index 0000000..3e7e537 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.Not.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._higherorder.Not : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Inverts a matcher.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
MethodmatchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, other): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html b/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html new file mode 100644 index 0000000..d2b88b0 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.PostfixedMismatch.html @@ -0,0 +1,127 @@ + + + + + testtools.matchers._higherorder.PostfixedMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A mismatch annotated with a descriptive string.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a MismatchDecorator.
MethoddescribeUndocumented
+ +

+ Inherited from MismatchDecorator: +

+ + + + + + + + + + + + + +
Method__repr__Undocumented
Methodget_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, annotation, mismatch): + +
+
+ +
Construct a MismatchDecorator.
ParametersoriginalA Mismatch object to decorate.
+
+
+ + + + + + +
+ + def + describe(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html b/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html new file mode 100644 index 0000000..f37e254 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.PrefixedMismatch.html @@ -0,0 +1,127 @@ + + + + + testtools.matchers._higherorder.PrefixedMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Method__init__Construct a MismatchDecorator.
MethoddescribeUndocumented
+ +

+ Inherited from MismatchDecorator: +

+ + + + + + + + + + + + + +
Method__repr__Undocumented
Methodget_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, prefix, mismatch): + +
+
+ +
Construct a MismatchDecorator.
ParametersoriginalA Mismatch object to decorate.
+
+
+ + + + + + +
+ + def + describe(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html b/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html new file mode 100644 index 0000000..94fdec5 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder._MatchesPredicateWithParams.html @@ -0,0 +1,148 @@ + + + + + testtools.matchers._higherorder._MatchesPredicateWithParams : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a MatchesPredicateWithParams matcher.
Method__str__Get a sensible human representation of the matcher.
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, predicate, message, name, *args, **kwargs): + +
+
+ +
Create a MatchesPredicateWithParams matcher.
ParameterspredicateA function that takes an object to match and +additional params as given in *args and **kwargs. The +result of the function will be interpreted as a boolean to +determine a match.
message

A message to describe a mismatch. It will be formatted +with .format() and be given a tuple containing whatever was passed +to match() + *args in *args, and whatever was passed to +**kwargs as its **kwargs.

+

For instance, to format a single parameter:

+
+"{0} is not a {1}"
+
+

To format a keyword arg:

+
+"{0} is not a {type_to_check}"
+
nameWhat name to use for the matcher class. Pass None to use +the default.
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +

Get a sensible human representation of the matcher.

+

This should include the parameters given to the matcher and any +state that would affect the matches operation.

+
+
+ + + + + + +
+ + def + match(self, x): + +
+
+ +
Return None if this matcher matches something, a Mismatch otherwise.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._higherorder.html b/apidocs/testtools.matchers._higherorder.html new file mode 100644 index 0000000..7e10c12 --- /dev/null +++ b/apidocs/testtools.matchers._higherorder.html @@ -0,0 +1,125 @@ + + + + + testtools.matchers._higherorder : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassMatchesAnyMatches if any of the matchers it is created with match.
ClassMatchesAllMatches if all of the matchers it is created with match.
ClassMismatchesAllA mismatch with many child mismatches.
ClassNotInverts a matcher.
ClassMatchedUnexpectedlyA thing matched when it wasn't supposed to.
ClassAnnotateAnnotates a matcher with a descriptive string.
ClassPostfixedMismatchA mismatch annotated with a descriptive string.
ClassPrefixedMismatchUndocumented
ClassAfterPreprocessingMatches if the value matches after passing through a function.
ClassAllMatchMatches if all provided values match the given matcher.
ClassAnyMatchMatches if any of the provided values match the given matcher.
Class_MatchesPredicateWithParamsNo class docstring; 1/3 methods documented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.Matcher.html b/apidocs/testtools.matchers._impl.Matcher.html new file mode 100644 index 0000000..7393c9f --- /dev/null +++ b/apidocs/testtools.matchers._impl.Matcher.html @@ -0,0 +1,118 @@ + + + + + testtools.matchers._impl.Matcher : API documentation + + + + + + + + + +
+ + + + + +
+

A pattern matcher.

+

A Matcher must implement match and __str__ to be used by +testtools.TestCase.assertThat. Matcher.match(thing) returns None when +thing is completely matched, and a Mismatch object otherwise.

+

Matchers can be useful outside of test cases, as they are simply a +pattern matching language expressed as objects.

+

testtools.matchers is inspired by hamcrest, but is pythonic rather than +a Java transcription.

+
+ +
+ + + + + + + + + + + + + +
MethodmatchReturn None if this matcher matches something, a Mismatch otherwise.
Method__str__Get a sensible human representation of the matcher.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.Mismatch.html b/apidocs/testtools.matchers._impl.Mismatch.html new file mode 100644 index 0000000..cae731b --- /dev/null +++ b/apidocs/testtools.matchers._impl.Mismatch.html @@ -0,0 +1,167 @@ + + + + + testtools.matchers._impl.Mismatch : API documentation + + + + + + + + + +
+ + + + + +
+
An object describing a mismatch detected by a Matcher.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a Mismatch.
MethoddescribeDescribe the mismatch.
Methodget_detailsGet extra details about the mismatch.
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + describe(self): + +
+
+ +

Describe the mismatch.

+

This should be either a human-readable string or castable to a string. +In particular, is should either be plain ascii or unicode on Python 2, +and care should be taken to escape control characters.

+
+
+ + + + + + +
+ + def + get_details(self): + +
+
+ +

Get extra details about the mismatch.

+

This allows the mismatch to provide extra information beyond the basic +description, including large text or binary files, or debugging internals +without having to force it to fit in the output of 'describe'.

+

The testtools assertion assertThat will query get_details and attach +all its values to the test, permitting them to be reported in whatever +manner the test environment chooses.

Returnsa dict mapping names to Content objects. name is a string to +name the detail, and the Content object is the detail to add +to the result. For more information see the API to which items from +this dict are passed testtools.TestCase.addDetail.
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.MismatchDecorator.html b/apidocs/testtools.matchers._impl.MismatchDecorator.html new file mode 100644 index 0000000..4a167cf --- /dev/null +++ b/apidocs/testtools.matchers._impl.MismatchDecorator.html @@ -0,0 +1,156 @@ + + + + + testtools.matchers._impl.MismatchDecorator : API documentation + + + + + + + + + +
+ + + + + +
+

Decorate a Mismatch.

+

Forwards all messages to the original mismatch object. Probably the best +way to use this is inherit from this class and then provide your own +custom decoration logic.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a MismatchDecorator.
Method__repr__Undocumented
MethoddescribeUndocumented
Methodget_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, original): + +
+ +
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + describe(self): + +
+ +
+ + + + + + +
+ + def + get_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.MismatchError.html b/apidocs/testtools.matchers._impl.MismatchError.html new file mode 100644 index 0000000..83e3c58 --- /dev/null +++ b/apidocs/testtools.matchers._impl.MismatchError.html @@ -0,0 +1,131 @@ + + + + + testtools.matchers._impl.MismatchError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised when a mismatch occurs.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
Method__str__ 0Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matchee, matcher, mismatch, verbose=False): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__ 0(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers._impl.html b/apidocs/testtools.matchers._impl.html new file mode 100644 index 0000000..3132d43 --- /dev/null +++ b/apidocs/testtools.matchers._impl.html @@ -0,0 +1,89 @@ + + + + + testtools.matchers._impl : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Matchers, a way to express complex assertions outside the testcase.

+

Inspired by 'hamcrest'.

+

Matcher provides the abstract API that all matchers need to implement.

+

Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassMatcherA pattern matcher.
ClassMismatchAn object describing a mismatch detected by a Matcher.
ClassMismatchErrorRaised when a mismatch occurs.
ClassMismatchDecoratorDecorate a Mismatch.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.matchers.html b/apidocs/testtools.matchers.html new file mode 100644 index 0000000..5089bf9 --- /dev/null +++ b/apidocs/testtools.matchers.html @@ -0,0 +1,176 @@ + + + + + testtools.matchers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

All the matchers.

+

Matchers, a way to express complex assertions outside the testcase.

+

Inspired by 'hamcrest'.

+

Matcher provides the abstract API that all matchers need to implement.

+

Bundled matchers are listed in __all__: a list can be obtained by running +$ python -c 'import testtools.matchers; print testtools.matchers.__all__'

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Module_basicNo module docstring; 13/17 classes, 1/2 functions documented
Module_datastructuresNo module docstring; 3/3 classes, 1/1 functions documented
Module_dictNo module docstring; 7/7 classes, 1/3 functions documented
Module_doctestNo module docstring; 3/3 classes documented
Module_exceptionNo module docstring; 2/2 classes, 1/3 functions documented
Module_filesystemMatchers for things related to the filesystem.
Module_higherorderNo module docstring; 10/12 classes documented
Module_implMatchers, a way to express complex assertions outside the testcase.
+ + +

From the __init__.py module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassContainedByDictMatch a dictionary for which this is a super-dictionary.
ClassContainsDictMatch a dictionary for that contains a specified sub-dictionary.
ClassDirContainsMatches if the given directory contains files with the given names.
ClassMatchesDictMatch a dictionary exactly, by its keys.
ClassMatchesPredicateMatch if a given function returns True.
FunctionMatchesPredicateWithParamsMatch if a given parameterised function returns True.
+
+ +
+ +
+ + + + + + +
+ + def + MatchesPredicateWithParams(predicate, message, name=None): + +
+
+ +

Match if a given parameterised function returns True.

+

It is reasonably common to want to make a very simple matcher based on a +function that you already have that returns True or False given some +arguments. This matcher makes it very easy to do so. e.g.:

+
+HasLength = MatchesPredicate(
+    lambda x, y: len(x) == y, 'len({0}) is not {1}')
+# This assertion will fail, as 'len([1, 2]) == 3' is False.
+self.assertThat([1, 2], HasLength(3))
+
+

Note that unlike MatchesPredicate MatchesPredicateWithParams returns a +factory which you then customise to use by constructing an actual matcher +from it.

+

The predicate function should take the object to match as its first +parameter. Any additional parameters supplied when constructing a matcher +are supplied to the predicate as additional parameters when checking for a +match.

ParameterspredicateThe predicate function.
messageA format string for describing mis-matches.
nameOptional replacement name for the matcher.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.monkey.MonkeyPatcher.html b/apidocs/testtools.monkey.MonkeyPatcher.html new file mode 100644 index 0000000..5e7a0d7 --- /dev/null +++ b/apidocs/testtools.monkey.MonkeyPatcher.html @@ -0,0 +1,187 @@ + + + + + testtools.monkey.MonkeyPatcher : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A set of monkey-patches that can be applied and removed all together.

+

Use this to cover up attributes with new objects. Particularly useful for +testing difficult code.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a MonkeyPatcher.
Methodadd_patchAdd a patch to overwrite 'name' on 'obj' with 'value'.
MethodpatchApply all of the patches that have been specified with add_patch.
MethodrestoreRestore all original values to any patched objects.
Methodrun_with_patchesRun 'f' with the given args and kwargs with all patches applied.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *patches): + +
+
+ +
Construct a MonkeyPatcher.
ParameterspatchesThe patches to apply, each should be (obj, name, +new_value). Providing patches here is equivalent to calling +add_patch.
+
+
+ + + + + + +
+ + def + add_patch(self, obj, name, value): + +
+
+ +

Add a patch to overwrite 'name' on 'obj' with 'value'.

+

The attribute C{name} on C{obj} will be assigned to C{value} when +C{patch} is called or during C{run_with_patches}.

+

You can restore the original values with a call to restore().

+
+
+ + + + + + +
+ + def + patch(self): + +
+
+ +

Apply all of the patches that have been specified with add_patch.

+

Reverse this operation using L{restore}.

+
+
+ + + + + + +
+ + def + restore(self): + +
+
+ +

Restore all original values to any patched objects.

+

If the patched attribute did not exist on an object before it was +patched, restore will delete the attribute so as to return the +object to its original state.

+
+
+ + + + + + +
+ + def + run_with_patches(self, f, *args, **kw): + +
+
+ +

Run 'f' with the given args and kwargs with all patches applied.

+

Restores all objects to their original state when finished.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.monkey.html b/apidocs/testtools.monkey.html new file mode 100644 index 0000000..90d4263 --- /dev/null +++ b/apidocs/testtools.monkey.html @@ -0,0 +1,95 @@ + + + + + testtools.monkey : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Helpers for monkey-patching Python code.
+
+ +
+ + + + + + + + + + + + + +
ClassMonkeyPatcherA set of monkey-patches that can be applied and removed all together.
FunctionpatchSet 'obj.attribute' to 'value' and return a callable to restore 'obj'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + patch(obj, attribute, value): + +
+
+ +

Set 'obj.attribute' to 'value' and return a callable to restore 'obj'.

+

If 'attribute' is not set on 'obj' already, then the returned callable +will delete the attribute when called.

ParametersobjAn object to monkey-patch.
attributeThe name of the attribute to patch.
valueThe value to set 'obj.attribute' to.
ReturnsA nullary callable that, when run, will restore 'obj' to its +original state.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.run.TestProgram.html b/apidocs/testtools.run.TestProgram.html new file mode 100644 index 0000000..6488c5e --- /dev/null +++ b/apidocs/testtools.run.TestProgram.html @@ -0,0 +1,176 @@ + + + + + testtools.run.TestProgram : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A command-line program that runs a set of tests; this is primarily +for making test modules conveniently executable.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodrunTestsUndocumented
Method_getParentArgParserUndocumented
Method_do_discoveryUndocumented
Method_get_runnerUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, module=__name__, defaultTest=None, argv=None, testRunner=None, testLoader=defaultTestLoader, exit=True, verbosity=1, failfast=None, catchbreak=None, buffer=None, stdout=None, tb_locals=False): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _getParentArgParser(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _do_discovery(self, argv, Loader=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + runTests(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_runner(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.run.TestToolsTestRunner.html b/apidocs/testtools.run.TestToolsTestRunner.html new file mode 100644 index 0000000..85885a4 --- /dev/null +++ b/apidocs/testtools.run.TestToolsTestRunner.html @@ -0,0 +1,131 @@ + + + + + testtools.run.TestToolsTestRunner : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A thunk object to support unittest.TestProgram.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a TestToolsTestRunner.
MethodlistList the tests that would be run if test() was run.
MethodrunRun the given test case or test suite.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, verbosity=None, failfast=None, buffer=None, stdout=None, tb_locals=False, **kwargs): + +
+
+ +
Create a TestToolsTestRunner.
ParametersverbosityIgnored.
failfastStop running tests at the first failure.
bufferIgnored.
stdoutStream to use for stdout.
tb_localsIf True include local variables in tracebacks.
+
+
+ + + + + + +
+ + def + list(self, test, loader): + +
+
+ +
List the tests that would be run if test() was run.
+
+
+ + + + + + +
+ + def + run(self, test): + +
+
+ +
Run the given test case or test suite.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.run.html b/apidocs/testtools.run.html new file mode 100644 index 0000000..253bb19 --- /dev/null +++ b/apidocs/testtools.run.html @@ -0,0 +1,131 @@ + + + + + testtools.run : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

python -m testtools.run testspec [testspec...]

+

Run some tests with the testtools extended API.

+
+
For instance, to run the testtools test suite.
+
$ python -m testtools.run testtools.tests.test_suite
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Functionlist_testReturn the test ids that would be run if test() was run.
ClassTestToolsTestRunnerA thunk object to support unittest.TestProgram.
ClassTestProgramA command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.
FunctionmainUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + list_test(test): + +
+
+ +

Return the test ids that would be run if test() was run.

+

When things fail to import they can be represented as well, though +we use an ugly hack (see http://bugs.python.org/issue19746 for details) +to determine that. The difference matters because if a user is +filtering tests to run on the returned ids, a failed import can reduce +the visible tests but it can be impossible to tell that the selected +test would have been one of the imported ones.

ReturnsA tuple of test ids that would run and error strings +describing things that failed to import.
+
+
+ + + + + + +
+ + def + main(argv, stdout): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.runtest.MultipleExceptions.html b/apidocs/testtools.runtest.MultipleExceptions.html new file mode 100644 index 0000000..cd1fce8 --- /dev/null +++ b/apidocs/testtools.runtest.MultipleExceptions.html @@ -0,0 +1,83 @@ + + + + + testtools.runtest.MultipleExceptions : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Represents many exceptions raised from some operation.
+
+ +
+ + + + + + + + +
Instance VariableargsThe sys.exc_info() tuples for each exception.
+ + + +
+ +
+ +
+ + + + + + +
+ args = +
+
+ The sys.exc_info() tuples for each exception. +
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.runtest.RunTest.html b/apidocs/testtools.runtest.RunTest.html new file mode 100644 index 0000000..1f57d3d --- /dev/null +++ b/apidocs/testtools.runtest.RunTest.html @@ -0,0 +1,373 @@ + + + + + testtools.runtest.RunTest : API documentation + + + + + + + + + +
+ + + + + +
+

An object to run a test.

+

RunTest objects are used to implement the internal logic involved in +running a test. TestCase.__init__ stores _RunTest as the class of RunTest +to execute. Passing the runTest= parameter to TestCase.__init__ allows a +different RunTest class to be used to execute the test.

+

Subclassing or replacing RunTest can be useful to add functionality to the +way that tests are run in a given project.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_run_userRun a user supplied function.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ case = +
+
+ The test case that is to be run. +
+
+ + + + + + +
+ result = +
+
+ The result object a case is reporting to. +
+
+ + + + + + +
+ handlers = +
+
+ A list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list). +
+
+ + + + + + +
+ exception_caught = +
+
+ An object returned when _run_user catches an +exception. +
+
+ + + + + + +
+ _exceptions = +
+
+ A list of caught exceptions, used to do the single +reporting of error/failure/skip etc. +
+
+ + + + + + +
+ + def + __init__(self, case, handlers=None, last_resort=None): + +
+
+ +
Create a RunTest to run a case.
ParameterscaseA testtools.TestCase test case object.
handlersException handlers for this RunTest. These are stored +in self.handlers and can be modified later if needed.
last_resortA handler of last resort: any exception which is +not handled by handlers will cause the last resort handler to be +called as last_resort(exc_info), and then the exception will be +raised - aborting the test run as this is inside the runner +machinery rather than the confined context of the test.
+
+
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Run self.case reporting activity to result.
ParametersresultOptional testtools.TestResult to report activity to.
ReturnsThe result object the test was run against.
+
+
+ + + + + + +
+ + def + _run_one(self, result): + +
+
+ +
Run one test reporting to result.
ParametersresultA testtools.TestResult to report activity to. +This result object is decorated with an ExtendedToOriginalDecorator +to ensure that the latest TestResult API can be used with +confidence by client code.
ReturnsThe result object the test was run against.
+
+
+ + + + + + +
+ + def + _run_prepared_result(self, result): + +
+
+ +
Run one test reporting to result.
ParametersresultA testtools.TestResult to report activity to.
ReturnsThe result object the test was run against.
+
+
+ + + + + + +
+ + def + _run_core(self): + +
+
+ +
Run the user supplied test code.
+
+
+ + + + + + +
+ + def + _run_cleanups(self, result): + +
+
+ +

Run the cleanups that have been added with addCleanup.

+

See the docstring for addCleanup for more information.

ReturnsNone if all cleanups ran without error, +exception_caught if there was an error.
+
+
+ + + + + + +
+ + def + _run_user(self, fn, *args, **kwargs): + +
+
+ +

Run a user supplied function.

+

Exceptions are processed by _got_user_exception.

ReturnsEither whatever 'fn' returns or exception_caught if +'fn' raised an exception.
+
+
+ + + + + + +
+ + def + _got_user_exception(self, exc_info, tb_label='traceback'): + +
+
+ +

Called when user code raises an exception.

+

If 'exc_info' is a MultipleExceptions, then we recurse into it +unpacking the errors that it's made up from.

Parametersexc_infoA sys.exc_info() tuple for the user error.
tb_labelAn optional string label for the error. If +not specified, will default to 'traceback'.
Returns'exception_caught' if we catch one of the exceptions that +have handlers in 'handlers', otherwise raise the error.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.runtest.html b/apidocs/testtools.runtest.html new file mode 100644 index 0000000..e792fb0 --- /dev/null +++ b/apidocs/testtools.runtest.html @@ -0,0 +1,97 @@ + + + + + testtools.runtest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Individual test case execution.
+
+ +
+ + + + + + + + + + + + + + + + + + +
ClassMultipleExceptionsRepresents many exceptions raised from some operation.
ClassRunTestAn object to run a test.
Function_raise_force_fail_errorUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _raise_force_fail_error(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tags.TagContext.html b/apidocs/testtools.tags.TagContext.html new file mode 100644 index 0000000..bc38fd0 --- /dev/null +++ b/apidocs/testtools.tags.TagContext.html @@ -0,0 +1,133 @@ + + + + + testtools.tags.TagContext : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A tag context.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a new TagContext.
Methodget_current_tagsReturn any current tags.
Methodchange_tagsChange the tags on this context.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, parent=None): + +
+
+ +
Create a new TagContext.
ParametersparentIf provided, uses this as the parent context. Any tags +that are current on the parent at the time of construction are +current in this context.
+
+
+ + + + + + +
+ + def + get_current_tags(self): + +
+
+ +
Return any current tags.
+
+
+ + + + + + +
+ + def + change_tags(self, new_tags, gone_tags): + +
+
+ +
Change the tags on this context.
Parametersnew_tagsA set of tags to add to this context.
gone_tagsA set of tags to remove from this context.
ReturnsThe tags now current on this context.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tags.html b/apidocs/testtools.tags.html new file mode 100644 index 0000000..eed3dd6 --- /dev/null +++ b/apidocs/testtools.tags.html @@ -0,0 +1,70 @@ + + + + + testtools.tags : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tag support.
+
+ +
+ + + + + + + + +
ClassTagContextA tag context.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.ExpectedException.html b/apidocs/testtools.testcase.ExpectedException.html new file mode 100644 index 0000000..1743251 --- /dev/null +++ b/apidocs/testtools.testcase.ExpectedException.html @@ -0,0 +1,146 @@ + + + + + testtools.testcase.ExpectedException : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A context manager to handle expected exceptions.

+
+
+
def test_foo(self):
+
+
with ExpectedException(ValueError, 'fo.*'):
+
raise ValueError('foo')
+
+
+
+
+

will pass. If the raised exception has a type other than the specified +type, it will be re-raised. If it has a 'str()' that does not match the +given regular expression, an AssertionError will be raised. If no +exception is raised, an AssertionError will be raised.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Construct an ExpectedException.
Method__enter__Undocumented
Method__exit__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, exc_type, value_re=None, msg=None): + +
+
+ +
Construct an ExpectedException.
Parametersexc_typeThe type of exception to expect.
value_reA regular expression to match against the +'str()' of the raised exception.
msgAn optional message explaining the failure.
+
+
+ + + + + + +
+ + def + __enter__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __exit__(self, exc_type, exc_value, traceback): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.Nullary.html b/apidocs/testtools.testcase.Nullary.html new file mode 100644 index 0000000..4800fba --- /dev/null +++ b/apidocs/testtools.testcase.Nullary.html @@ -0,0 +1,133 @@ + + + + + testtools.testcase.Nullary : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Turn a callable into a nullary callable.

+

The advantage of this over lambda: f(*args, **kwargs) is that it +preserves the repr() of f.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__call__Undocumented
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, callable_object, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __call__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.TestCase.html b/apidocs/testtools.testcase.TestCase.html new file mode 100644 index 0000000..573edfd --- /dev/null +++ b/apidocs/testtools.testcase.TestCase.html @@ -0,0 +1,1164 @@ + + + + + testtools.testcase.TestCase : API documentation + + + + + + + + + +
+ + + +
+

Known subclasses: testtools.tests.matchers.test_basic.DoesNotEndWithTests, testtools.tests.matchers.test_basic.DoesNotStartWithTests, testtools.tests.matchers.test_basic.EndsWithTests, testtools.tests.matchers.test_basic.StartsWithTests, testtools.tests.matchers.test_basic.Test_BinaryMismatch, testtools.tests.matchers.test_basic.TestContainsInterface, testtools.tests.matchers.test_basic.TestEqualsInterface, testtools.tests.matchers.test_basic.TestGreaterThanInterface, testtools.tests.matchers.test_basic.TestHasLength, testtools.tests.matchers.test_basic.TestIsInstanceInterface, testtools.tests.matchers.test_basic.TestIsInterface, testtools.tests.matchers.test_basic.TestLessThanInterface, testtools.tests.matchers.test_basic.TestMatchesRegex, testtools.tests.matchers.test_basic.TestNotEqualsInterface, testtools.tests.matchers.test_basic.TestSameMembers, testtools.tests.matchers.test_datastructures.TestContainsAllInterface, testtools.tests.matchers.test_datastructures.TestMatchesListwise, testtools.tests.matchers.test_datastructures.TestMatchesSetwise, testtools.tests.matchers.test_datastructures.TestMatchesStructure, testtools.tests.matchers.test_dict.TestContainedByDict, testtools.tests.matchers.test_dict.TestContainsDict, testtools.tests.matchers.test_dict.TestKeysEqualWithList, testtools.tests.matchers.test_dict.TestMatchesAllDictInterface, testtools.tests.matchers.test_dict.TestMatchesDict, testtools.tests.matchers.test_dict.TestSubDictOf, testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface, testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode, testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific, testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface, testtools.tests.matchers.test_exception.TestRaisesBaseTypes, testtools.tests.matchers.test_exception.TestRaisesConvenience, testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface, testtools.tests.matchers.test_exception.TestRaisesInterface, testtools.tests.matchers.test_filesystem.TestDirContains, testtools.tests.matchers.test_filesystem.TestDirExists, testtools.tests.matchers.test_filesystem.TestFileContains, testtools.tests.matchers.test_filesystem.TestFileExists, testtools.tests.matchers.test_filesystem.TestHasPermissions, testtools.tests.matchers.test_filesystem.TestPathExists, testtools.tests.matchers.test_filesystem.TestSamePath, testtools.tests.matchers.test_filesystem.TestTarballContains, testtools.tests.matchers.test_higherorder.TestAfterPreprocessing, testtools.tests.matchers.test_higherorder.TestAllMatch, testtools.tests.matchers.test_higherorder.TestAnnotate, testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch, testtools.tests.matchers.test_higherorder.TestAnyMatch, testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface, testtools.tests.matchers.test_higherorder.TestMatchesAllInterface, testtools.tests.matchers.test_higherorder.TestMatchesPredicate, testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams, testtools.tests.matchers.test_higherorder.TestNotInterface, testtools.tests.matchers.test_impl.TestMismatch, testtools.tests.matchers.test_impl.TestMismatchDecorator, testtools.tests.matchers.test_impl.TestMismatchError, testtools.tests.test_assert_that.TestAssertThatFunction, testtools.tests.test_assert_that.TestAssertThatMethod, testtools.tests.test_compat.TestReraise, testtools.tests.test_compat.TestTextRepr, testtools.tests.test_compat.TestUnicodeOutputStream, testtools.tests.test_content.TestAttachFile, testtools.tests.test_content.TestContent, testtools.tests.test_content.TestStackLinesContent, testtools.tests.test_content.TestStacktraceContent, testtools.tests.test_content.TestTracebackContent, testtools.tests.test_content_type.TestBuiltinContentTypes, testtools.tests.test_content_type.TestContentType, testtools.tests.test_deferredruntest.X.Base, testtools.tests.test_distutilscmd.TestCommandTest, testtools.tests.test_fixturesupport.TestFixtureSupport, testtools.tests.test_helpers.TestStackHiding, testtools.tests.test_monkey.MonkeyPatcherTest, testtools.tests.test_monkey.TestPatchHelper, testtools.tests.test_run.TestRun, testtools.tests.test_runtest.TestRunTest, testtools.tests.test_runtest.TestTestCaseSupportForRunTest, testtools.tests.test_spinner.NeedsTwistedTestCase, testtools.tests.test_tags.TestTags, testtools.tests.test_testcase.Attributes, testtools.tests.test_testcase.TestAddCleanup, testtools.tests.test_testcase.TestAddCleanup.LoggingTest, testtools.tests.test_testcase.TestAssertions, testtools.tests.test_testcase.TestAttributes, testtools.tests.test_testcase.TestCloneTestWithNewId, testtools.tests.test_testcase.TestDecorateTestCaseResult, testtools.tests.test_testcase.TestEquality, testtools.tests.test_testcase.TestErrorHolder, testtools.tests.test_testcase.TestNullary, testtools.tests.test_testcase.TestOnException, testtools.tests.test_testcase.TestPatchSupport, testtools.tests.test_testcase.TestPatchSupport.Case, testtools.tests.test_testcase.TestPlaceHolder, testtools.tests.test_testcase.TestRunTestUsage, testtools.tests.test_testcase.TestSetupTearDown, testtools.tests.test_testcase.TestSkipping, testtools.tests.test_testcase.TestTestCaseSuper, testtools.tests.test_testcase.TestUniqueFactories, testtools.tests.test_testcase.TestWithDetails, testtools.tests.test_testresult.TestAdaptedPython26TestResultContract, testtools.tests.test_testresult.TestAdaptedPython27TestResultContract, testtools.tests.test_testresult.TestAdaptedStreamResult, testtools.tests.test_testresult.TestBaseStreamResultContract, testtools.tests.test_testresult.TestByTestResultTests, testtools.tests.test_testresult.TestCopyStreamResultContract, testtools.tests.test_testresult.TestCopyStreamResultCopies, testtools.tests.test_testresult.TestDetailsToStr, testtools.tests.test_testresult.TestDoubleStreamResultContract, testtools.tests.test_testresult.TestDoubleStreamResultEvents, testtools.tests.test_testresult.TestExtendedTestResultContract, testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase, testtools.tests.test_testresult.TestExtendedToStreamDecorator, testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract, testtools.tests.test_testresult.TestMergeTags, testtools.tests.test_testresult.TestMultiTestResult, testtools.tests.test_testresult.TestMultiTestResultContract, testtools.tests.test_testresult.TestNonAsciiResults, testtools.tests.test_testresult.TestPython26TestResultContract, testtools.tests.test_testresult.TestPython27TestResultContract, testtools.tests.test_testresult.TestStreamFailFast, testtools.tests.test_testresult.TestStreamFailFastContract, testtools.tests.test_testresult.TestStreamResultRouter, testtools.tests.test_testresult.TestStreamResultRouterContract, testtools.tests.test_testresult.TestStreamSummary, testtools.tests.test_testresult.TestStreamSummaryResultContract, testtools.tests.test_testresult.TestStreamTagger, testtools.tests.test_testresult.TestStreamTaggerContract, testtools.tests.test_testresult.TestStreamToDict, testtools.tests.test_testresult.TestStreamToDictContract, testtools.tests.test_testresult.TestStreamToExtendedContract, testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract, testtools.tests.test_testresult.TestStreamToQueue, testtools.tests.test_testresult.TestStreamToQueueContract, testtools.tests.test_testresult.TestTagger, testtools.tests.test_testresult.TestTestControl, testtools.tests.test_testresult.TestTestResult, testtools.tests.test_testresult.TestTestResultContract, testtools.tests.test_testresult.TestTestResultDecoratorContract, testtools.tests.test_testresult.TestTextTestResult, testtools.tests.test_testresult.TestTextTestResultContract, testtools.tests.test_testresult.TestThreadSafeForwardingResult, testtools.tests.test_testresult.TestThreadSafeForwardingResultContract, testtools.tests.test_testresult.TestTimestampingStreamResult, testtools.tests.test_testsuite.Sample, testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun, testtools.tests.test_testsuite.TestConcurrentTestSuiteRun, testtools.tests.test_testsuite.TestFixtureSuite, testtools.tests.test_testsuite.TestSortedTests, testtools.tests.test_with_with.TestExpectedException

+
+ +
+
Extensions to the basic 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.
+ + + +
+ +
+ +
+ + + + + + +
+ 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. +
+
+ + + + + + +
+ force_failure = +
+
+ Force testtools.RunTest to fail the test after the +test has completed. +
+
+ + + + + + +
+ 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. +
+
+ + + + + + +
+ + def + __init__(self, *args, **kwargs): + +
+
+ +
Construct a TestCase.
ParameterstestMethodThe name of the method to run.
runTestOptional class to use to execute the test. If not +supplied RunTest is used. The instance to be used is created +when run() is invoked, so will be fresh each time. Overrides +TestCase.run_tests_with if given.
+
+
+ + + + + + +
+ + def + __eq__(self, other): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addDetail(self, name, content_object): + +
+
+ +

Add a detail to be reported with this test's outcome.

+

For more details see pydoc testtools.TestResult.

ParametersnameThe name to give this detail.
content_objectThe content object for this detail. See +testtools.content for more detail.
+
+
+ + + + + + +
+ + def + getDetails(self): + +
+
+ +

Get the details dict that will be reported with this test's outcome.

+

For more details see pydoc testtools.TestResult.

+
+
+ + + + + + +
+ + def + patch(self, obj, attribute, value): + +
+
+ +

Monkey-patch 'obj.attribute' to 'value' while the test is running.

+

If 'obj' has no attribute, then the monkey-patch will still go ahead, +and the attribute will be deleted instead of restored to its original +value.

ParametersobjThe object to patch. Can be anything.
attributeThe attribute on 'obj' to patch.
valueThe value to set 'obj.attribute' to.
+
+
+ + + + + + +
+ + def + shortDescription(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + skipTest(self, reason): + +
+
+ +

Cause this test to be skipped.

+

This raises self.skipException(reason). skipException is raised +to permit a skip to be triggered at any point (during setUp or the +testMethod itself). The run() method catches skipException and +translates that into a call to the result objects addSkip method.

ParametersreasonThe reason why the test is being skipped. This must +support being cast into a unicode string for reporting.
+
+
+ + + + + + +
+ + def + _formatTypes(self, classOrIterable): + +
+
+ +
Format a class or a bunch of classes for display in an error.
+
+
+ + + + + + +
+ + def + addCleanup(self, function, *arguments, **keywordArguments): + +
+
+ +

Add a cleanup function to be called after tearDown.

+

Functions added with addCleanup will be called in reverse order of +adding after tearDown, or after setUp if setUp raises an exception.

+

If a function added with addCleanup raises an exception, the error +will be recorded as a test error, and the next cleanup will then be +run.

+

Cleanup functions are always called before a test finishes running, +even if setUp is aborted by an exception.

+
+
+ + + + + + +
+ + def + addOnException(self, handler): + +
+
+ +

Add a handler to be called when an exception occurs in test code.

+

This handler cannot affect what result methods are called, and is +called before any outcome is called on the result object. An example +use for it is to add some diagnostic state to the test details dict +which is expensive to calculate and not interesting for reporting in +the success case.

+

Handlers are called before the outcome (such as addFailure) that +the exception has caused.

+

Handlers are called in first-added, first-called order, and if they +raise an exception, that will propogate out of the test running +machinery, halting test processing. As a result, do not call code that +may unreasonably fail.

+
+
+ + + + + + +
+ + def + _add_reason(self, reason): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertEqual(self, expected, observed, message=''): + +
+
+ +
Assert that 'expected' is equal to 'observed'.
ParametersexpectedThe expected value.
observedThe observed value.
messageAn optional message to include in the error.
+
+
+ + + + + + +
+ + def + assertIn(self, needle, haystack, message=''): + +
+
+ +
Assert that needle is in haystack.
+
+
+ + + + + + +
+ + def + assertIsNone(self, observed, message=''): + +
+
+ +
Assert that 'observed' is equal to None.
ParametersobservedThe observed value.
messageAn optional message describing the error.
+
+
+ + + + + + +
+ + def + assertIsNotNone(self, observed, message=''): + +
+
+ +
Assert that 'observed' is not equal to None.
ParametersobservedThe observed value.
messageAn optional message describing the error.
+
+
+ + + + + + +
+ + def + assertIs(self, expected, observed, message=''): + +
+
+ +
Assert that 'expected' is 'observed'.
ParametersexpectedThe expected value.
observedThe observed value.
messageAn optional message describing the error.
+
+
+ + + + + + +
+ + def + assertIsNot(self, expected, observed, message=''): + +
+
+ +
Assert that 'expected' is not 'observed'.
+
+
+ + + + + + +
+ + def + assertNotIn(self, needle, haystack, message=''): + +
+
+ +
Assert that needle is not in haystack.
+
+
+ + + + + + +
+ + def + assertIsInstance(self, obj, klass, msg=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertRaises(self, excClass, callableObj, *args, **kwargs): + +
+
+ +
Fail unless an exception of class excClass is thrown +by callableObj when invoked with arguments args and keyword +arguments kwargs. If a different type of exception is +thrown, it will not be caught, and the test case will be +deemed to have suffered an error, exactly as for an +unexpected exception.
+
+
+ + + + + + +
+ + def + assertThat(self, matchee, matcher, message='', verbose=False): + +
+
+ +
Assert that matchee is matched by matcher.
ParametersmatcheeAn object to match with matcher.
matcherAn object meeting the testtools.Matcher protocol.
RaisesMismatchErrorWhen matcher does not match thing.
+
+
+ + + + + + +
+ + def + addDetailUniqueName(self, name, content_object): + +
+
+ +

Add a detail to the test, but ensure it's name is unique.

+

This method checks whether name conflicts with a detail that has +already been added to the test. If it does, it will modify name to +avoid the conflict.

+

For more details see pydoc testtools.TestResult.

ParametersnameThe name to give this detail.
content_objectThe content object for this detail. See +testtools.content for more detail.
+
+
+ + + + + + +
+ + def + expectThat(self, matchee, matcher, message='', verbose=False): + +
+
+ +

Check that matchee is matched by matcher, but delay the assertion failure.

+

This method behaves similarly to assertThat, except that a failed +match does not exit the test immediately. The rest of the test code will +continue to run, and the test will be marked as failing after the test +has finished.

ParametersmatcheeAn object to match with matcher.
matcherAn object meeting the testtools.Matcher protocol.
messageIf specified, show this message with any failed match.
+
+
+ + + + + + +
+ + def + _matchHelper(self, matchee, matcher, message, verbose): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + defaultTestResult(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + expectFailure(self, reason, predicate, *args, **kwargs): + +
+
+ +

Check that a test fails in a particular way.

+

If the test fails in the expected way, a KnownFailure is caused. If it +succeeds an UnexpectedSuccess is caused.

+

The expected use of expectFailure is as a barrier at the point in a +test where the test would fail. For example: +>>> def test_foo(self): +>>> self.expectFailure("1 should be 0", self.assertNotEqual, 1, 0) +>>> self.assertEqual(1, 0)

+

If in the future 1 were to equal 0, the expectFailure call can simply +be removed. This separation preserves the original intent of the test +while it is in the expectFailure mode.

+
+
+ + + + + + +
+ + def + getUniqueInteger(self): + +
+
+ +

Get an integer unique to this test.

+

Returns an integer that is guaranteed to be unique to this instance. +Use this when you need an arbitrary integer in your test, or as a +helper for custom anonymous factory methods.

+
+
+ + + + + + +
+ + def + getUniqueString(self, prefix=None): + +
+
+ +

Get a string unique to this test.

+

Returns a string that is guaranteed to be unique to this instance. Use +this when you need an arbitrary string in your test, or as a helper +for custom anonymous factory methods.

ParametersprefixThe prefix of the string. If not provided, defaults +to the id of the tests.
ReturnsA bytestring of '<prefix>-<unique_int>'.
+
+
+ + + + + + +
+ + def + onException(self, exc_info, tb_label='traceback'): + +
+
+ +
Called when an exception propogates from test code.
See Also
+
+
+ + + + + + +
+ @staticmethod
+ def + _report_error(self, result, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @staticmethod
+ def + _report_expected_failure(self, result, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @staticmethod
+ def + _report_failure(self, result, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @staticmethod
+ def + _report_skip(self, result, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _report_traceback(self, exc_info, tb_label='traceback'): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @staticmethod
+ def + _report_unexpected_success(self, result, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _run_setup(self, result): + +
+
+ +
Run the setUp function for this test.
ParametersresultA testtools.TestResult to report activity to.
RaisesValueErrorIf the base class setUp is not called, a +ValueError is raised.
+
+
+ + + + + + +
+ + def + _run_teardown(self, result): + +
+
+ +
Run the tearDown function for this test.
ParametersresultA testtools.TestResult to report activity to.
RaisesValueErrorIf the base class tearDown is not called, a +ValueError is raised.
+
+
+ + + + + + +
+ + def + _get_test_method(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _run_test_method(self, result): + +
+
+ +
Run the test method for this test.
ParametersresultA testtools.TestResult to report activity to.
ReturnsNone.
+
+
+ + + + + + +
+ + def + useFixture(self, fixture): + +
+
+ +

Use fixture in a test case.

+

The fixture will be setUp, and self.addCleanup(fixture.cleanUp) called.

ParametersfixtureThe fixture to use.
ReturnsThe fixture, after setting it up and scheduling a cleanup for +it.
+
+
+ + + + + + +
+ + def + tearDown(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.TestSkipped.html b/apidocs/testtools.testcase.TestSkipped.html new file mode 100644 index 0000000..4b37583 --- /dev/null +++ b/apidocs/testtools.testcase.TestSkipped.html @@ -0,0 +1,62 @@ + + + + + testtools.testcase.TestSkipped : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Raised within TestCase.run() when a test is skipped.
+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.WithAttributes.html b/apidocs/testtools.testcase.WithAttributes.html new file mode 100644 index 0000000..2941d29 --- /dev/null +++ b/apidocs/testtools.testcase.WithAttributes.html @@ -0,0 +1,94 @@ + + + + + testtools.testcase.WithAttributes : API documentation + + + + + + + + + +
+ + + + + +
+

A mix-in class for modifying test id by attributes.

+

e.g. +>>> class MyTest(WithAttributes, TestCase): +... @attr('foo') +... def test_bar(self): +... pass +>>> MyTest('test_bar').id() +testtools.testcase.MyTest/test_bar[foo]

+
+ +
+ + + + + + + + +
MethodidUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + id(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase._ExpectedFailure.html b/apidocs/testtools.testcase._ExpectedFailure.html new file mode 100644 index 0000000..f621432 --- /dev/null +++ b/apidocs/testtools.testcase._ExpectedFailure.html @@ -0,0 +1,64 @@ + + + + + testtools.testcase._ExpectedFailure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

An expected failure occured.

+

Note that this exception is private plumbing in testtools' testcase +module.

+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase._UnexpectedSuccess.html b/apidocs/testtools.testcase._UnexpectedSuccess.html new file mode 100644 index 0000000..1073a4c --- /dev/null +++ b/apidocs/testtools.testcase._UnexpectedSuccess.html @@ -0,0 +1,64 @@ + + + + + testtools.testcase._UnexpectedSuccess : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

An unexpected success was raised.

+

Note that this exception is private plumbing in testtools' testcase +module.

+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testcase.html b/apidocs/testtools.testcase.html new file mode 100644 index 0000000..3d65a21 --- /dev/null +++ b/apidocs/testtools.testcase.html @@ -0,0 +1,349 @@ + + + + + testtools.testcase : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test case related stuff.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestSkippedRaised within TestCase.run() when a test is skipped.
Functionrun_test_withDecorate a test as using a specific RunTest.
Functiongather_detailsMerge the details from source_dict into target_dict.
ClassTestCaseExtensions to the basic TestCase.
Functionclone_test_with_new_idCopy a TestCase, and give the copied test a new id.
FunctionattrDecorator for adding attributes to WithAttributes.
ClassWithAttributesA mix-in class for modifying test id by attributes.
FunctionskipA decorator to skip unit tests.
FunctionskipIfA decorator to skip a test if the condition is true.
FunctionskipUnlessA decorator to skip a test unless the condition is true.
ClassExpectedExceptionA context manager to handle expected exceptions.
ClassNullaryTurn a callable into a nullary callable.
Class_UnexpectedSuccessAn unexpected success was raised.
Class_ExpectedFailureAn expected failure occured.
Function_expectedFailureUndocumented
Function_copy_contentMake a copy of the given content object.
Function_clone_test_id_callbackCopy a TestCase, and make it call callback for its id().
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _expectedFailure(func): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run_test_with(test_runner, **kwargs): + +
+
+ +

Decorate a test as using a specific RunTest.

+

e.g.:

+
+@run_test_with(CustomRunner, timeout=42)
+def test_foo(self):
+    self.assertTrue(True)
+
+

The returned decorator works by setting an attribute on the decorated +function. TestCase.__init__ looks for this attribute when deciding on a +RunTest factory. If you wish to use multiple decorators on a test +method, then you must either make this one the top-most decorator, or you +must write your decorators so that they update the wrapping function with +the attributes of the wrapped function. The latter is recommended style +anyway. functools.wraps, functools.wrapper and +twisted.python.util.mergeFunctionMetadata can help you do this.

Parameterstest_runnerA RunTest factory that takes a test case and an +optional list of exception handlers. See RunTest.
kwargsKeyword arguments to pass on as extra arguments to +'test_runner'.
ReturnsA decorator to be used for marking a test as needing a special +runner.
+
+
+ + + + + + +
+ + def + _copy_content(content_object): + +
+
+ +

Make a copy of the given content object.

+

The content within content_object is iterated and saved. This is +useful when the source of the content is volatile, a log file in a +temporary directory for example.

Parameterscontent_objectA content.Content instance.
ReturnsA content.Content instance with the same mime-type as +content_object and a non-volatile copy of its content.
+
+
+ + + + + + +
+ + def + gather_details(source_dict, target_dict): + +
+
+ +
Merge the details from source_dict into target_dict.
Parameterssource_dictA dictionary of details will be gathered.
target_dictA dictionary into which details will be gathered.
+
+
+ + + + + + +
+ + def + _clone_test_id_callback(test, callback): + +
+
+ +

Copy a TestCase, and make it call callback for its id().

+

This is only expected to be used on tests that have been constructed but +not executed.

ParameterstestA TestCase instance.
callbackA callable that takes no parameters and returns a string.
ReturnsA copy.copy of the test with id=callback.
+
+
+ + + + + + +
+ + def + clone_test_with_new_id(test, new_id): + +
+
+ +

Copy a TestCase, and give the copied test a new id.

+

This is only expected to be used on tests that have been constructed but +not executed.

+
+
+ + + + + + +
+ + def + attr(*args): + +
+
+ +
Decorator for adding attributes to WithAttributes.
ParametersargsThe name of attributes to add.
ReturnsA callable that when applied to a WithAttributes will +alter its id to enumerate the added attributes.
+
+
+ + + + + + +
+ + def + skip(reason): + +
+
+ +

A decorator to skip unit tests.

+

This is just syntactic sugar so users don't have to change any of their +unit tests in order to migrate to python 2.7, which provides the +@unittest.skip decorator.

+
+
+ + + + + + +
+ + def + skipIf(condition, reason): + +
+
+ +
A decorator to skip a test if the condition is true.
+
+
+ + + + + + +
+ + def + skipUnless(condition, reason): + +
+
+ +
A decorator to skip a test unless the condition is true.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.CopyStreamResult.html b/apidocs/testtools.testresult.CopyStreamResult.html new file mode 100644 index 0000000..52dfeef --- /dev/null +++ b/apidocs/testtools.testresult.CopyStreamResult.html @@ -0,0 +1,211 @@ + + + + + testtools.testresult.CopyStreamResult : API documentation + + + + + + + + + +
+ + + + + +
+

Copies all event it receives to multiple results.

+

This provides an easy facility for combining multiple StreamResults.

+

For TestResult the equivalent class was MultiTestResult.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
MethodstatusInform the result about a test status.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + status(self, *args, **kwargs): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.StreamResultRouter.html b/apidocs/testtools.testresult.StreamResultRouter.html new file mode 100644 index 0000000..3b17b41 --- /dev/null +++ b/apidocs/testtools.testresult.StreamResultRouter.html @@ -0,0 +1,307 @@ + + + + + testtools.testresult.StreamResultRouter : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A StreamResult that routes events.

+

StreamResultRouter forwards received events to another StreamResult object, +selected by a dynamic forwarding policy. Events where no destination is +found are forwarded to the fallback StreamResult, or an error is raised.

+

Typical use is to construct a router with a fallback and then either +create up front mapping rules, or create them as-needed from the fallback +handler:

+
+>>> router = StreamResultRouter()
+>>> sink = doubles.StreamResult()
+>>> router.add_rule(sink, 'route_code_prefix', route_prefix='0',
+...     consume_route=True)
+>>> router.status(test_id='foo', route_code='0/1', test_status='uxsuccess')
+
+

StreamResultRouter has no buffering.

+

When adding routes (and for the fallback) whether to call startTestRun and +stopTestRun or to not call them is controllable by passing +'do_start_stop_run'. The default is to call them for the fallback only. +If a route is added after startTestRun has been called, and +do_start_stop_run is True then startTestRun is called immediately on the +new route sink.

+

There is no a-priori defined lookup order for routes: if they are ambiguous +the behaviour is undefined. Only a single route is chosen for any event.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a StreamResultRouter with optional fallback.
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
MethodstatusInform the result about a test status.
Methodadd_ruleAdd a rule to route events to sink when they match a given policy.
Method_map_route_code_prefixUndocumented
Method_map_test_idUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, fallback=None, do_start_stop_run=True): + +
+
+ +
Construct a StreamResultRouter with optional fallback.
ParametersfallbackA StreamResult to forward events to when no route +exists for them.
do_start_stop_runIf False do not pass startTestRun and +stopTestRun onto the fallback.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + status(self, **kwargs): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ + + + + + +
+ + def + add_rule(self, sink, policy, do_start_stop_run=False, **policy_args): + +
+
+ +

Add a rule to route events to sink when they match a given policy.

+

route_code_prefix routes events based on a prefix of the route +code in the event. It takes a route_prefix argument to match on +(e.g. '0') and a consume_route argument, which, if True, removes +the prefix from the route_code when forwarding events.

+

test_id routes events based on the test id. It takes a single +argument, test_id. Use None to select non-test events.

ParameterssinkA StreamResult to receive events.
policyA routing policy. Valid policies are +'route_code_prefix' and 'test_id'.
do_start_stop_runIf True then startTestRun and stopTestRun +events will be passed onto this sink.
RaisesValueError if the policy is unknown
TypeError if the policy is given arguments it cannot handle.
+
+
+ + + + + + +
+ + def + _map_route_code_prefix(self, sink, route_prefix, consume_route=False): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _map_test_id(self, sink, test_id): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.TestByTestResult.html b/apidocs/testtools.testresult.TestByTestResult.html new file mode 100644 index 0000000..cef646c --- /dev/null +++ b/apidocs/testtools.testresult.TestByTestResult.html @@ -0,0 +1,363 @@ + + + + + testtools.testresult.TestByTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Call something every time a test completes.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a TestByTestResult.
MethodstartTestUndocumented
MethodstopTestUndocumented
MethodaddSuccessCalled when a test succeeded.
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
Method_err_to_detailsUndocumented
+ +

+ Inherited from TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
MethodwasSuccessfulHas this result been successful so far?
MethodstartTestRunCalled before a test run starts.
MethodstopTestRunCalled after a test run completes
Methodcurrent_tagsThe currently set tags.
MethodtagsAdd and remove tags from the test.
MethodtimeProvide a timestamp to represent the current time.
MethoddoneCalled when the test runner is done.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, on_test): + +
+
+ +
Construct a TestByTestResult.
Parameterson_testA callable that take a test case, a status (one of +"success", "failure", "error", "skip", or "xfail"), a start time +(a datetime with timezone), a stop time, an iterable of tags, +and a details dict. Is called at the end of each test (i.e. on +stopTest) with the accumulated values for that test.
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _err_to_details(self, test, err, details): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Called when a test succeeded.
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +

Called when a test has been skipped rather than running.

+

Like with addSuccess and addError, testStopped should still be called.

+

This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.

ParameterstestThe test that has been skipped.
reasonThe reason for the test being skipped. For instance, +u"pyGL is not available".
detailsAlternative way to supply details about the outcome. +see the class docstring for more information.
ReturnsNone
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +

Called when a test has failed in an expected manner.

+

Like with addSuccess and addError, testStopped should still be called.

ParameterstestThe test that has been skipped.
errThe exc_info of the error that was raised.
ReturnsNone
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Called when a test was expected to fail, but succeed.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.TextTestResult.html b/apidocs/testtools.testresult.TextTestResult.html new file mode 100644 index 0000000..5a3ebe3 --- /dev/null +++ b/apidocs/testtools.testresult.TextTestResult.html @@ -0,0 +1,272 @@ + + + + + testtools.testresult.TextTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A TestResult which outputs activity to a text stream.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Construct a TextTestResult writing to stream.
MethodstartTestRunCalled before a test run starts.
MethodstopTestRunCalled after a test run completes
Method_delta_to_floatUndocumented
Method_show_listUndocumented
+ +

+ Inherited from TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddSuccessCalled when a test succeeded.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
MethodwasSuccessfulHas this result been successful so far?
MethodstartTestUndocumented
MethodstopTestUndocumented
Methodcurrent_tagsThe currently set tags.
MethodtagsAdd and remove tags from the test.
MethodtimeProvide a timestamp to represent the current time.
MethoddoneCalled when the test runner is done.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, stream, failfast=False, tb_locals=False): + +
+
+ +
Construct a TextTestResult writing to stream.
+
+
+ + + + + + +
+ + def + _delta_to_float(self, a_timedelta, precision): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _show_list(self, label, error_list): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Called before a test run starts.

+

New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Called after a test run completes

+

New in python 2.7

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.__init__.html b/apidocs/testtools.testresult.__init__.html new file mode 100644 index 0000000..a4995ca --- /dev/null +++ b/apidocs/testtools.testresult.__init__.html @@ -0,0 +1,85 @@ + + + + + testtools.testresult.__init__ : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test result objects.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassCopyStreamResultCopies all event it receives to multiple results.
ClassStreamResultRouterA StreamResult that routes events.
ClassTestByTestResultCall something every time a test completes.
ClassTextTestResultA TestResult which outputs activity to a text stream.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.ExtendedTestResult.html b/apidocs/testtools.testresult.doubles.ExtendedTestResult.html new file mode 100644 index 0000000..d85319e --- /dev/null +++ b/apidocs/testtools.testresult.doubles.ExtendedTestResult.html @@ -0,0 +1,421 @@ + + + + + testtools.testresult.doubles.ExtendedTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A test result like the proposed extended unittest result API.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodaddErrorUndocumented
MethodaddFailureUndocumented
MethodaddExpectedFailureUndocumented
MethodaddSkipUndocumented
MethodaddSuccessUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodprogressUndocumented
MethodstartTestRunUndocumented
MethodstartTestUndocumented
MethodstopTestUndocumented
Methodcurrent_tagsUndocumented
MethodtagsUndocumented
MethodtimeUndocumented
MethodwasSuccessfulUndocumented
+ +

+ Inherited from Python26TestResult (via Python27TestResult): +

+ + + + + + + + +
MethodstopUndocumented
+ +

+ Inherited from Python26TestResult (via Python27TestResult): +

+ + + + + + + + +
MethodstopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+ +
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+ +
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+ +
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+ +
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+ +
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+ +
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+ +
+ + + + + + +
+ + def + progress(self, offset, whence): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+ +
+ + + + + + +
+ + def + startTest(self, test): + +
+ +
+ + + + + + +
+ + def + stopTest(self, test): + +
+ +
+ + + + + + +
+ @property
+ def + current_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + time(self, time): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.LoggingBase.html b/apidocs/testtools.testresult.doubles.LoggingBase.html new file mode 100644 index 0000000..4322d65 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.LoggingBase.html @@ -0,0 +1,87 @@ + + + + + testtools.testresult.doubles.LoggingBase : API documentation + + + + + + + + + +
+ + + + + +
+
Basic support for logging of results.
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.Python26TestResult.html b/apidocs/testtools.testresult.doubles.Python26TestResult.html new file mode 100644 index 0000000..d0a17fd --- /dev/null +++ b/apidocs/testtools.testresult.doubles.Python26TestResult.html @@ -0,0 +1,232 @@ + + + + + testtools.testresult.doubles.Python26TestResult : API documentation + + + + + + + + + +
+ + + + + +
+
A precisely python 2.6 like test result, that logs.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodaddErrorUndocumented
MethodaddFailureUndocumented
MethodaddSuccessUndocumented
MethodstartTestUndocumented
MethodstopUndocumented
MethodstopTestUndocumented
MethodwasSuccessfulUndocumented
+ +

+ Inherited from LoggingBase: +

+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + addError(self, test, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addFailure(self, test, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSuccess(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.Python27TestResult.html b/apidocs/testtools.testresult.doubles.Python27TestResult.html new file mode 100644 index 0000000..6305df7 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.Python27TestResult.html @@ -0,0 +1,274 @@ + + + + + testtools.testresult.doubles.Python27TestResult : API documentation + + + + + + + + + +
+ + + + + +
+
A precisely python 2.7 like test result, that logs.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodaddErrorUndocumented
MethodaddFailureUndocumented
MethodaddExpectedFailureUndocumented
MethodaddSkipUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodstartTestRunUndocumented
MethodstopTestRunUndocumented
+ +

+ Inherited from Python26TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodaddSuccessUndocumented
MethodstartTestUndocumented
MethodstopUndocumented
MethodstopTestUndocumented
MethodwasSuccessfulUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+ +
+ + + + + + +
+ + def + addError(self, test, err): + +
+ +
+ + + + + + +
+ + def + addFailure(self, test, err): + +
+ +
+ + + + + + +
+ + def + addExpectedFailure(self, test, err): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.StreamResult.html b/apidocs/testtools.testresult.doubles.StreamResult.html new file mode 100644 index 0000000..cb96256 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.StreamResult.html @@ -0,0 +1,154 @@ + + + + + testtools.testresult.doubles.StreamResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A StreamResult implementation for testing.

+

All events are logged to _events.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodstartTestRunUndocumented
MethodstopTestRunUndocumented
MethodstatusUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.doubles.html b/apidocs/testtools.testresult.doubles.html new file mode 100644 index 0000000..7599772 --- /dev/null +++ b/apidocs/testtools.testresult.doubles.html @@ -0,0 +1,90 @@ + + + + + testtools.testresult.doubles : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Doubles of test result objects, useful for testing unittest code.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassLoggingBaseBasic support for logging of results.
ClassPython26TestResultA precisely python 2.6 like test result, that logs.
ClassPython27TestResultA precisely python 2.7 like test result, that logs.
ClassExtendedTestResultA test result like the proposed extended unittest result API.
ClassStreamResultA StreamResult implementation for testing.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.html b/apidocs/testtools.testresult.html new file mode 100644 index 0000000..71c4e67 --- /dev/null +++ b/apidocs/testtools.testresult.html @@ -0,0 +1,98 @@ + + + + + testtools.testresult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test result objects.
+
+ +
+ + + + + + + + + + + + + +
ModuledoublesDoubles of test result objects, useful for testing unittest code.
ModulerealTest results and related things.
+ + +

From the __init__.py module:

+ + + + + + + + + + + + + + + + + + + + + + +
ClassCopyStreamResultCopies all event it receives to multiple results.
ClassStreamResultRouterA StreamResult that routes events.
ClassTestByTestResultCall something every time a test completes.
ClassTextTestResultA TestResult which outputs activity to a text stream.
+
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html b/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html new file mode 100644 index 0000000..1181b42 --- /dev/null +++ b/apidocs/testtools.testresult.real.ExtendedToOriginalDecorator.html @@ -0,0 +1,620 @@ + + + + + testtools.testresult.real.ExtendedToOriginalDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Permit new TestResult API code to degrade gracefully with old results.

+

This decorates an existing TestResult and converts missing outcomes +such as addSkip to older outcomes such as addSuccess. It also supports +the extended details protocol. In all cases the most recent protocol +is attempted first, and fallbacks only occur when the decorated result +does not support the newer style of calling.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
Method__getattr__Undocumented
MethodaddErrorUndocumented
MethodaddExpectedFailureUndocumented
MethodaddFailureUndocumented
MethodaddSkipUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodaddSuccessUndocumented
Methodcurrent_tagsUndocumented
MethoddoneUndocumented
MethodprogressUndocumented
MethodshouldStopUndocumented
MethodstartTestUndocumented
MethodstartTestRunUndocumented
MethodstopUndocumented
MethodstopTestUndocumented
MethodstopTestRunUndocumented
MethodtagsUndocumented
MethodtimeUndocumented
MethodwasSuccessfulUndocumented
Method_check_argsUndocumented
Method_details_to_exc_infoConvert a details dict to an exc_info tuple.
Method_get_failfastUndocumented
Method_set_failfastUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, decorated): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __getattr__(self, name): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _check_args(self, err, details): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _details_to_exc_info(self, details): + +
+
+ +
Convert a details dict to an exc_info tuple.
+
+
+ + + + + + +
+ @property
+ def + current_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + done(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_failfast(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _set_failfast(self, value): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + progress(self, offset, whence): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html b/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html new file mode 100644 index 0000000..c3c34c2 --- /dev/null +++ b/apidocs/testtools.testresult.real.ExtendedToStreamDecorator.html @@ -0,0 +1,575 @@ + + + + + testtools.testresult.real.ExtendedToStreamDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Permit using old TestResult API code with new StreamResult objects.

+

This decorates a StreamResult and converts old (Python 2.6 / 2.7 / +Extended) TestResult API calls into StreamResult calls.

+

It also supports regular StreamResult calls, making it safe to wrap around +any StreamResult.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a StreamToDict calling on_test on test completions.
MethodstartTestUndocumented
MethodstopTest 0Undocumented
MethodaddErrorUndocumented
MethodaddExpectedFailureUndocumented
MethodaddSkipUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodaddSuccessUndocumented
MethodstartTestRunStart a test run.
MethodstopTestUndocumented
Methodcurrent_tagsThe currently set tags.
MethodtagsAdd and remove tags from the test.
MethodtimeUndocumented
MethodwasSuccessfulReturn False if any failure has occured.
Method_get_failfastUndocumented
Method_set_failfastUndocumented
Method_convertUndocumented
Method_check_argsUndocumented
Method_nowReturn the current 'test time'.
+ +

+ Inherited from TestControl: +

+ + + + + + + + + + + + + +
Instance VariableshouldStopIf True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.
MethodstopIndicate that tests should stop running.
+ +

+ Inherited from TestControl: +

+ + + + + + + + + + + + + +
Instance VariableshouldStopIf True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.
MethodstopIndicate that tests should stop running.
+ +

+ Inherited from TestControl: +

+ + + + + + + + + + + + + +
Instance VariableshouldStopIf True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.
MethodstopIndicate that tests should stop running.
+ +

+ Inherited from TestControl: +

+ + + + + + + + + + + + + +
Instance VariableshouldStopIf True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.
MethodstopIndicate that tests should stop running.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, decorated): + +
+
+ +
Create a StreamToDict calling on_test on test completions.
Parameterson_testA callback that accepts one parameter - a dict +describing a test.
+
+
+ + + + + + +
+ + def + _get_failfast(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _set_failfast(self, value): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest 0(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _convert(self, test, err, details, status, reason=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _check_args(self, err, details): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + current_tags(self): + +
+
+ +
The currently set tags.
+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Add and remove tags from the test.
Parametersnew_tagsA set of tags to be added to the stream.
gone_tagsA set of tags to be removed from the stream.
+
+
+ + + + + + +
+ + def + _now(self): + +
+
+ +

Return the current 'test time'.

+

If the time() method has not been called, this is equivalent to +datetime.now(), otherwise its the last supplied datestamp given to the +time() method.

+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +

Return False if any failure has occured.

+

Note that incomplete tests can only be detected when stopTestRun is +called, so that should be called before checking wasSuccessful.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.MultiTestResult.html b/apidocs/testtools.testresult.real.MultiTestResult.html new file mode 100644 index 0000000..03e2e11 --- /dev/null +++ b/apidocs/testtools.testresult.real.MultiTestResult.html @@ -0,0 +1,605 @@ + + + + + testtools.testresult.real.MultiTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A test result that dispatches to many test results.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
MethodstartTestUndocumented
MethodstopUndocumented
MethodstopTestUndocumented
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddSuccessCalled when a test succeeded.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
MethodstartTestRunCalled before a test run starts.
MethodstopTestRunCalled after a test run completes
MethodtagsAdd and remove tags from the test.
MethodtimeProvide a timestamp to represent the current time.
MethoddoneCalled when the test runner is done.
MethodwasSuccessfulWas this result successful?
Method_dispatchUndocumented
Method_get_failfastUndocumented
Method_set_failfastUndocumented
Method_get_shouldStopUndocumented
Method_set_shouldStopUndocumented
+ +

+ Inherited from TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
Methodcurrent_tagsThe currently set tags.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *results): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _dispatch(self, message, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_failfast(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _set_failfast(self, value): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _set_shouldStop(self, value): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addError(self, test, error=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +

Called when a test has failed in an expected manner.

+

Like with addSuccess and addError, testStopped should still be called.

ParameterstestThe test that has been skipped.
errThe exc_info of the error that was raised.
ReturnsNone
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +

Called when a test has been skipped rather than running.

+

Like with addSuccess and addError, testStopped should still be called.

+

This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.

ParameterstestThe test that has been skipped.
reasonThe reason for the test being skipped. For instance, +u"pyGL is not available".
detailsAlternative way to supply details about the outcome. +see the class docstring for more information.
ReturnsNone
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Called when a test succeeded.
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Called when a test was expected to fail, but succeed.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Called before a test run starts.

+

New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Called after a test run completes

+

New in python 2.7

+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Add and remove tags from the test.
Parametersnew_tagsA set of tags to be added to the stream.
gone_tagsA set of tags to be removed from the stream.
+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +

Provide a timestamp to represent the current time.

+

This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).

+

Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.

Parametersa_datetimeA datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.
+
+
+ + + + + + +
+ + def + done(self): + +
+
+ +

Called when the test runner is done.

+

deprecated in favour of stopTestRun.

+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +

Was this result successful?

+

Only returns True if every constituent result was successful.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamFailFast.html b/apidocs/testtools.testresult.real.StreamFailFast.html new file mode 100644 index 0000000..1cbe083 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamFailFast.html @@ -0,0 +1,183 @@ + + + + + testtools.testresult.real.StreamFailFast : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Call the supplied callback if an error is seen in a stream.

+

An example callback:

+
+def do_something():
+    pass
+
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodstatusInform the result about a test status.
+ +

+ Inherited from StreamResult: +

+ + + + + + + + + + + + + +
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, on_error): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamResult.html b/apidocs/testtools.testresult.real.StreamResult.html new file mode 100644 index 0000000..d45d46a --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamResult.html @@ -0,0 +1,220 @@ + + + + + testtools.testresult.real.StreamResult : API documentation + + + + + + + + + +
+ + + + + +
+

A test result for reporting the activity of a test run.

+

Typical use

+
+
+>>> result = StreamResult()
+>>> result.startTestRun()
+>>> try:
+...     case.run(result)
+... finally:
+...     result.stopTestRun()
+
+

The case object will be either a TestCase or a TestSuite, and +generally make a sequence of calls like:

+
+>>> result.status(self.id(), 'inprogress')
+>>> result.status(self.id(), 'success')
+
+

General concepts

+

StreamResult is built to process events that are emitted by tests during a +test run or test enumeration. The test run may be running concurrently, and +even be spread out across multiple machines.

+

All events are timestamped to prevent network buffering or scheduling +latency causing false timing reports. Timestamps are datetime objects in +the UTC timezone.

+

A route_code is a unicode string that identifies where a particular test +run. This is optional in the API but very useful when multiplexing multiple +streams together as it allows identification of interactions between tests +that were run on the same hardware or in the same test process. Generally +actual tests never need to bother with this - it is added and processed +by StreamResult's that do multiplexing / run analysis. route_codes are +also used to route stdin back to pdb instances.

+

The StreamResult base class does no accounting or processing, rather it +just provides an empty implementation of every method, suitable for use +as a base class regardless of intent.

+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
MethodstatusInform the result about a test status.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamSummary.html b/apidocs/testtools.testresult.real.StreamSummary.html new file mode 100644 index 0000000..ca1f897 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamSummary.html @@ -0,0 +1,338 @@ + + + + + testtools.testresult.real.StreamSummary : API documentation + + + + + + + + + +
+ + + + + +
+

A specialised StreamResult that summarises a stream.

+

The summary uses the same representation as the original +unittest.TestResult contract, allowing it to be consumed by any test +runner.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a StreamToDict calling on_test on test completions.
MethodstartTestRunStart a test run.
MethodwasSuccessfulReturn False if any failure has occured.
Method_gather_testUndocumented
Method_incompleteUndocumented
Method_successUndocumented
Method_skipUndocumented
Method_existsUndocumented
Method_failUndocumented
Method_xfailUndocumented
Method_uxsuccessUndocumented
+ +

+ Inherited from StreamToDict: +

+ + + + + + + + + + + + + + + + + + +
MethodstatusInform the result about a test status.
MethodstopTestRunStop a test run.
Method_ensure_keyUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Create a StreamToDict calling on_test on test completions.
Parameterson_testA callback that accepts one parameter - a dict +describing a test.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +

Return False if any failure has occured.

+

Note that incomplete tests can only be detected when stopTestRun is +called, so that should be called before checking wasSuccessful.

+
+
+ + + + + + +
+ + def + _gather_test(self, test_dict): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _incomplete(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _success(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _skip(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _exists(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _fail(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _xfail(self, case): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _uxsuccess(self, case): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamTagger.html b/apidocs/testtools.testresult.real.StreamTagger.html new file mode 100644 index 0000000..f36fe57 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamTagger.html @@ -0,0 +1,179 @@ + + + + + testtools.testresult.real.StreamTagger : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Adds or discards tags from StreamResult events.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a StreamTagger.
MethodstatusInform the result about a test status.
+ +

+ Inherited from CopyStreamResult: +

+ + + + + + + + + + + + + +
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, targets, add=None, discard=None): + +
+
+ +
Create a StreamTagger.
ParameterstargetsA list of targets to forward events onto.
addEither None or an iterable of tags to add to each event.
discardEither None or an iterable of tags to discard from each +event.
+
+
+ + + + + + +
+ + def + status(self, *args, **kwargs): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToDict.html b/apidocs/testtools.testresult.real.StreamToDict.html new file mode 100644 index 0000000..fd661dd --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToDict.html @@ -0,0 +1,250 @@ + + + + + testtools.testresult.real.StreamToDict : API documentation + + + + + + + + + +
+ + + + + +
+

A specialised StreamResult that emits a callback as tests complete.

+

Top level file attachments are simply discarded. Hung tests are detected +by stopTestRun and notified there and then.

+

The callback is passed a dict with the following keys:

+
+
    +
  • id: the test id.
  • +
  • tags: The tags for the test. A set of unicode strings.
  • +
  • details: A dict of file attachments - testtools.content.Content +objects.
  • +
  • status: One of the StreamResult status codes (including inprogress) or +'unknown' (used if only file events for a test were received...)
  • +
  • timestamps: A pair of timestamps - the first one received with this +test id, and the one in the event that triggered the notification. +Hung tests have a None for the second end event. Timestamps are not +compared - their ordering is purely order received in the stream.
  • +
+
+

Only the most recent tags observed in the stream are reported.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a StreamToDict calling on_test on test completions.
MethodstartTestRunStart a test run.
MethodstatusInform the result about a test status.
MethodstopTestRunStop a test run.
Method_ensure_keyUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, on_test): + +
+
+ +
Create a StreamToDict calling on_test on test completions.
Parameterson_testA callback that accepts one parameter - a dict +describing a test.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + _ensure_key(self, test_id, route_code, timestamp): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html b/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html new file mode 100644 index 0000000..23ede81 --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToExtendedDecorator.html @@ -0,0 +1,236 @@ + + + + + testtools.testresult.real.StreamToExtendedDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Convert StreamResult API calls into ExtendedTestResult calls.

+

This will buffer all calls for all concurrently active tests, and +then flush each test as they complete.

+

Incomplete tests will be flushed as errors when the test run stops.

+

Non test file attachments are accumulated into a test called +'testtools.extradata' flushed at the end of the run.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodstatusInform the result about a test status.
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
Method_handle_testsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, decorated): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + status(self, *args, test_id=None, test_status=None, **kwargs): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + _handle_tests(self, test_dict): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.StreamToQueue.html b/apidocs/testtools.testresult.real.StreamToQueue.html new file mode 100644 index 0000000..93ada0c --- /dev/null +++ b/apidocs/testtools.testresult.real.StreamToQueue.html @@ -0,0 +1,252 @@ + + + + + testtools.testresult.real.StreamToQueue : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A StreamResult which enqueues events as a dict to a queue.Queue.

+

Events have their route code updated to include the route code +StreamToQueue was constructed with before they are submitted. If the event +route code is None, it is replaced with the StreamToQueue route code, +otherwise it is prefixed with the supplied code + a hyphen.

+

startTestRun and stopTestRun are forwarded to the queue. Implementors that +dequeue events back into StreamResult calls should take care not to call +startTestRun / stopTestRun on other StreamResult objects multiple times +(e.g. by filtering startTestRun and stopTestRun).

+

StreamToQueue is typically used by +ConcurrentStreamTestSuite, which creates one StreamToQueue +per thread, forwards status events to the the StreamResult that +ConcurrentStreamTestSuite.run() was called with, and uses the +stopTestRun event to trigger calling join() on the each thread.

+

Unlike ThreadsafeForwardingResult which this supercedes, no buffering takes +place - any event supplied to a StreamToQueue will be inserted into the +queue immediately.

+

Events are forwarded as a dict with a key event which is one of +startTestRun, stopTestRun or status. When event is +status the dict also has keys matching the keyword arguments +of StreamResult.status, otherwise it has one other key result which +is the result that invoked startTestRun.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a StreamToQueue forwarding to target.
MethodstartTestRunStart a test run.
MethodstatusInform the result about a test status.
MethodstopTestRunStop a test run.
Methodroute_codeAdjust route_code on the way through.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, queue, routing_code): + +
+
+ +
Create a StreamToQueue forwarding to target.
ParametersqueueA queue.Queue to receive events.
routing_codeThe routing code to apply to messages.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Start a test run.

+

This will prepare the test result to process results (which might imply +connecting to a database or remote machine).

+
+
+ + + + + + +
+ + def + status(self, test_id=None, test_status=None, test_tags=None, runnable=True, file_name=None, file_bytes=None, eof=False, mime_type=None, route_code=None, timestamp=None): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Stop a test run.

+

This informs the result that no more test updates will be received. At +this point any test ids that have started and not completed can be +considered failed-or-hung.

+
+
+ + + + + + +
+ + def + route_code(self, route_code): + +
+
+ +
Adjust route_code on the way through.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.Tagger.html b/apidocs/testtools.testresult.real.Tagger.html new file mode 100644 index 0000000..fde5d46 --- /dev/null +++ b/apidocs/testtools.testresult.real.Tagger.html @@ -0,0 +1,202 @@ + + + + + testtools.testresult.real.Tagger : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tag each test individually.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Wrap 'decorated' such that each test is tagged.
MethodstartTestUndocumented
+ +

+ Inherited from TestResultDecorator: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodstartTestRunUndocumented
MethodstopTestUndocumented
MethodstopTestRunUndocumented
MethodaddErrorUndocumented
MethodaddFailureUndocumented
MethodaddSuccessUndocumented
MethodaddSkipUndocumented
MethodaddExpectedFailureUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodprogressUndocumented
MethodwasSuccessfulUndocumented
Methodcurrent_tagsUndocumented
MethodshouldStopUndocumented
MethodstopUndocumented
MethodtestsRunUndocumented
MethodtagsUndocumented
MethodtimeUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, decorated, new_tags, gone_tags): + +
+
+ +
Wrap 'decorated' such that each test is tagged.
Parametersnew_tagsTags to be added for each test.
gone_tagsTags to be removed for each test.
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestControl.html b/apidocs/testtools.testresult.real.TestControl.html new file mode 100644 index 0000000..7baf5e3 --- /dev/null +++ b/apidocs/testtools.testresult.real.TestControl.html @@ -0,0 +1,131 @@ + + + + + testtools.testresult.real.TestControl : API documentation + + + + + + + + + +
+ + + + + +
+
Controls a running test run, allowing it to be interrupted.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Instance VariableshouldStopIf True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return.
Method__init__Undocumented
MethodstopIndicate that tests should stop running.
+ + + +
+ +
+ +
+ + + + + + +
+ shouldStop = +
+
+ If True, tests should not run and should instead +return immediately. Similarly a TestSuite should check this between +each test and if set stop dispatching any new tests and return. +
+
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Indicate that tests should stop running.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestResult.html b/apidocs/testtools.testresult.real.TestResult.html new file mode 100644 index 0000000..157e07b --- /dev/null +++ b/apidocs/testtools.testresult.real.TestResult.html @@ -0,0 +1,541 @@ + + + + + testtools.testresult.real.TestResult : API documentation + + + + + + + + + +
+ + + + + +
+

Subclass of unittest.TestResult extending the protocol for flexability.

+

This test result supports an experimental protocol for providing additional +data to in test outcomes. All the outcome methods take an optional dict +'details'. If supplied any other detail parameters like 'err' or 'reason' +should not be provided. The details dict is a mapping from names to +MIME content objects (see testtools.content). This permits attaching +tracebacks, log files, or even large objects like databases that were +part of the test fixture. Until this API is accepted into upstream +Python it is considered experimental: it may be replaced at any point +by a newer version more in line with upstream Python. Compatibility would +be aimed for in this case, but may not be possible.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
Method__init__Undocumented
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddSuccessCalled when a test succeeded.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
MethodwasSuccessfulHas this result been successful so far?
MethodstartTestRunCalled before a test run starts.
MethodstopTestRunCalled after a test run completes
MethodstartTestUndocumented
MethodstopTestUndocumented
Methodcurrent_tagsThe currently set tags.
MethodtagsAdd and remove tags from the test.
MethodtimeProvide a timestamp to represent the current time.
MethoddoneCalled when the test runner is done.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ skip_reasons = +
+
+ A dict of skip-reasons -> list of tests. See addSkip. +
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +

Called when a test has failed in an expected manner.

+

Like with addSuccess and addError, testStopped should still be called.

ParameterstestThe test that has been skipped.
errThe exc_info of the error that was raised.
ReturnsNone
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +

Called when a test has been skipped rather than running.

+

Like with addSuccess and addError, testStopped should still be called.

+

This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.

ParameterstestThe test that has been skipped.
reasonThe reason for the test being skipped. For instance, +u"pyGL is not available".
detailsAlternative way to supply details about the outcome. +see the class docstring for more information.
ReturnsNone
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+ +
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +

Has this result been successful so far?

+

If there have been any errors, failures or unexpected successes, +return False. Otherwise, return True.

+

Note: This differs from standard unittest in that we consider +unexpected successes to be equivalent to failures, rather than +successes.

+
+
+ + + + + + +
+ + def + _err_details_to_string(self, test, err=None, details=None): + +
+
+ +
Convert an error in exc_info form or a contents dict to a string.
+
+
+ + + + + + +
+ + def + _exc_info_to_unicode(self, err, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _now(self): + +
+
+ +

Return the current 'test time'.

+

If the time() method has not been called, this is equivalent to +datetime.now(), otherwise its the last supplied datestamp given to the +time() method.

+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Called before a test run starts.

+

New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+ +
+ + + + + + +
+ @property
+ def + current_tags(self): + +
+
+ +
The currently set tags.
+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Add and remove tags from the test.
Parametersnew_tagsA set of tags to be added to the stream.
gone_tagsA set of tags to be removed from the stream.
+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +

Provide a timestamp to represent the current time.

+

This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).

+

Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.

Parametersa_datetimeA datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.
+
+
+ + + + + + +
+ + def + done(self): + +
+
+ +

Called when the test runner is done.

+

deprecated in favour of stopTestRun.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TestResultDecorator.html b/apidocs/testtools.testresult.real.TestResultDecorator.html new file mode 100644 index 0000000..3d8d4ae --- /dev/null +++ b/apidocs/testtools.testresult.real.TestResultDecorator.html @@ -0,0 +1,485 @@ + + + + + testtools.testresult.real.TestResultDecorator : API documentation + + + + + + + + + +
+ + + +
+

Known subclasses: testtools.testresult.real.Tagger

+
+ +
+

General pass-through decorator.

+

This provides a base that other TestResults can inherit from to +gain basic forwarding functionality.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a TestResultDecorator forwarding to decorated.
MethodstartTestUndocumented
MethodstartTestRunUndocumented
MethodstopTestUndocumented
MethodstopTestRunUndocumented
MethodaddErrorUndocumented
MethodaddFailureUndocumented
MethodaddSuccessUndocumented
MethodaddSkipUndocumented
MethodaddExpectedFailureUndocumented
MethodaddUnexpectedSuccessUndocumented
MethodprogressUndocumented
MethodwasSuccessfulUndocumented
Methodcurrent_tagsUndocumented
MethodshouldStopUndocumented
MethodstopUndocumented
MethodtestsRunUndocumented
MethodtagsUndocumented
MethodtimeUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, decorated): + +
+
+ +
Create a TestResultDecorator forwarding to decorated.
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + progress(self, offset, whence): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + current_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + testsRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html b/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html new file mode 100644 index 0000000..0fcded1 --- /dev/null +++ b/apidocs/testtools.testresult.real.ThreadsafeForwardingResult.html @@ -0,0 +1,586 @@ + + + + + testtools.testresult.real.ThreadsafeForwardingResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A TestResult which ensures the target does not receive mixed up calls.

+

Multiple ThreadsafeForwardingResults can forward to the same target +result, and that target result will only ever receive the complete set of +events for one test at a time.

+

This is enforced using a semaphore, which further guarantees that tests +will be sent atomically even if the ThreadsafeForwardingResults are in +different threads.

+

ThreadsafeForwardingResult is typically used by +ConcurrentTestSuite, which creates one ThreadsafeForwardingResult +per thread, each of which wraps of the TestResult that +ConcurrentTestSuite.run() is called with.

+

target.startTestRun() and target.stopTestRun() are called once for each +ThreadsafeForwardingResult that forwards to the same target. If the target +takes special action on these events, it should take care to accommodate +this.

+

time() and tags() calls are batched to be adjacent to the test result and +in the case of tags() are coerced into test-local scope, avoiding the +opportunity for bugs around global state in the target.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a ThreadsafeForwardingResult forwarding to target.
Method__repr__Undocumented
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddSuccessCalled when a test succeeded.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
MethodprogressUndocumented
MethodstartTestRunCalled before a test run starts.
MethodstopUndocumented
MethodstopTestRunCalled after a test run completes
MethoddoneCalled when the test runner is done.
MethodstartTestUndocumented
MethodwasSuccessfulHas this result been successful so far?
MethodtagsSee TestResult.
Method_any_tagsUndocumented
Method_add_result_with_semaphoreUndocumented
Method_get_shouldStopUndocumented
Method_set_shouldStopUndocumented
+ +

+ Inherited from TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
MethodstopTestUndocumented
Methodcurrent_tagsThe currently set tags.
MethodtimeProvide a timestamp to represent the current time.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, target, semaphore): + +
+
+ +
Create a ThreadsafeForwardingResult forwarding to target.
ParameterstargetA TestResult.
semaphoreA threading.Semaphore with limit 1.
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _any_tags(self, tags): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_result_with_semaphore(self, method, test, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addError(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addExpectedFailure(self, test, err=None, details=None): + +
+
+ +

Called when a test has failed in an expected manner.

+

Like with addSuccess and addError, testStopped should still be called.

ParameterstestThe test that has been skipped.
errThe exc_info of the error that was raised.
ReturnsNone
+
+
+ + + + + + +
+ + def + addFailure(self, test, err=None, details=None): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason=None, details=None): + +
+
+ +

Called when a test has been skipped rather than running.

+

Like with addSuccess and addError, testStopped should still be called.

+

This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.

ParameterstestThe test that has been skipped.
reasonThe reason for the test being skipped. For instance, +u"pyGL is not available".
detailsAlternative way to supply details about the outcome. +see the class docstring for more information.
ReturnsNone
+
+
+ + + + + + +
+ + def + addSuccess(self, test, details=None): + +
+
+ +
Called when a test succeeded.
+
+
+ + + + + + +
+ + def + addUnexpectedSuccess(self, test, details=None): + +
+
+ +
Called when a test was expected to fail, but succeed.
+
+
+ + + + + + +
+ + def + progress(self, offset, whence): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Called before a test run starts.

+

New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.

+
+
+ + + + + + +
+ + def + _get_shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _set_shouldStop(self, value): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Called after a test run completes

+

New in python 2.7

+
+
+ + + + + + +
+ + def + done(self): + +
+
+ +

Called when the test runner is done.

+

deprecated in favour of stopTestRun.

+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + wasSuccessful(self): + +
+
+ +

Has this result been successful so far?

+

If there have been any errors, failures or unexpected successes, +return False. Otherwise, return True.

+

Note: This differs from standard unittest in that we consider +unexpected successes to be equivalent to failures, rather than +successes.

+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.TimestampingStreamResult.html b/apidocs/testtools.testresult.real.TimestampingStreamResult.html new file mode 100644 index 0000000..acfe256 --- /dev/null +++ b/apidocs/testtools.testresult.real.TimestampingStreamResult.html @@ -0,0 +1,179 @@ + + + + + testtools.testresult.real.TimestampingStreamResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

A StreamResult decorator that assigns a timestamp when none is present.

+

This is convenient for ensuring events are timestamped.

+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodstatusInform the result about a test status.
+ +

+ Inherited from CopyStreamResult: +

+ + + + + + + + + + + + + +
MethodstartTestRunStart a test run.
MethodstopTestRunStop a test run.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, target): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + status(self, *args, **kwargs): + +
+
+ +
Inform the result about a test status.
Parameterstest_idThe test whose status is being reported. None to +report status about the test run as a whole.
test_status

The status for the test. There are two sorts of +status - interim and final status events. As many interim events +can be generated as desired, but only one final event. After a +final status event any further file or status events from the +same test_id+route_code may be discarded or associated with a new +test by the StreamResult. (But no exception will be thrown).

+
+
Interim states:
+
    +
  • None - no particular status is being reported, or status being +reported is not associated with a test (e.g. when reporting on +stdout / stderr chatter).
  • +
  • inprogress - the test is currently running. Emitted by tests when +they start running and at any intermediary point they might +choose to indicate their continual operation.
  • +
+
+
Final states:
+
    +
  • exists - the test exists. This is used when a test is not being +executed. Typically this is when querying what tests could be run +in a test run (which is useful for selecting tests to run).
  • +
  • xfail - the test failed but that was expected. This is purely +informative - the test is not considered to be a failure.
  • +
  • uxsuccess - the test passed but was expected to fail. The test +will be considered a failure.
  • +
  • success - the test has finished without error.
  • +
  • fail - the test failed (or errored). The test will be considered +a failure.
  • +
  • skip - the test was selected to run but chose to be skipped. E.g. +a test dependency was missing. This is purely informative - the +test is not considered to be a failure.
  • +
+
+
test_tagsOptional set of tags to apply to the test. Tags +have no intrinsic meaning - that is up to the test author.
runnableAllows status reports to mark that they are for +tests which are not able to be explicitly run. For instance, +subtests will report themselves as non-runnable.
file_nameThe name for the file_bytes. Any unicode string may +be used. While there is no semantic value attached to the name +of any attachment, the names 'stdout' and 'stderr' and 'traceback' +are recommended for use only for output sent to stdout, stderr and +tracebacks of exceptions. When file_name is supplied, file_bytes +must be a bytes instance.
file_bytesA bytes object containing content for the named +file. This can just be a single chunk of the file - emitting +another file event with more later. Must be None unleses a +file_name is supplied.
eofTrue if this chunk is the last chunk of the file, any +additional chunks with the same name should be treated as an error +and discarded. Ignored unless file_name has been supplied.
mime_typeAn optional MIME type for the file. stdout and +stderr will generally be "text/plain; charset=utf8". If None, +defaults to application/octet-stream. Ignored unless file_name +has been supplied.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.UTC.html b/apidocs/testtools.testresult.real.UTC.html new file mode 100644 index 0000000..a837f67 --- /dev/null +++ b/apidocs/testtools.testresult.real.UTC.html @@ -0,0 +1,131 @@ + + + + + testtools.testresult.real.UTC : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
UTC
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodutcoffsetUndocumented
MethodtznameUndocumented
MethoddstUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + utcoffset(self, dt): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tzname(self, dt): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + dst(self, dt): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real._StringException.html b/apidocs/testtools.testresult.real._StringException.html new file mode 100644 index 0000000..e430db6 --- /dev/null +++ b/apidocs/testtools.testresult.real._StringException.html @@ -0,0 +1,175 @@ + + + + + testtools.testresult.real._StringException : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
An exception made from an arbitrary string.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
Method__unicode__Undocumented
Method__hash__Undocumented
Method__eq__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, string): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __unicode__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __hash__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __eq__(self, other): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testresult.real.html b/apidocs/testtools.testresult.real.html new file mode 100644 index 0000000..a2afa0c --- /dev/null +++ b/apidocs/testtools.testresult.real.html @@ -0,0 +1,267 @@ + + + + + testtools.testresult.real : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test results and related things.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassUTCUTC
ClassTestResultSubclass of unittest.TestResult extending the protocol for flexability.
ClassStreamResultA test result for reporting the activity of a test run.
FunctiondomapUndocumented
ClassStreamFailFastCall the supplied callback if an error is seen in a stream.
ClassStreamTaggerAdds or discards tags from StreamResult events.
ClassStreamToDictA specialised StreamResult that emits a callback as tests complete.
Functiontest_dict_to_caseConvert a test dict into a TestCase object.
ClassStreamSummaryA specialised StreamResult that summarises a stream.
ClassTestControlControls a running test run, allowing it to be interrupted.
ClassMultiTestResultA test result that dispatches to many test results.
ClassThreadsafeForwardingResultA TestResult which ensures the target does not receive mixed up calls.
ClassExtendedToOriginalDecoratorPermit new TestResult API code to degrade gracefully with old results.
ClassExtendedToStreamDecoratorPermit using old TestResult API code with new StreamResult objects.
ClassStreamToExtendedDecoratorConvert StreamResult API calls into ExtendedTestResult calls.
ClassStreamToQueueA StreamResult which enqueues events as a dict to a queue.Queue.
ClassTestResultDecoratorGeneral pass-through decorator.
ClassTaggerTag each test individually.
ClassTimestampingStreamResultA StreamResult decorator that assigns a timestamp when none is present.
Function_merge_tagsUndocumented
Class_StringExceptionAn exception made from an arbitrary string.
Function_format_text_attachmentUndocumented
Function_details_to_strConvert a details dict to a string.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + domap(*args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_dict_to_case(test_dict): + +
+
+ +
Convert a test dict into a TestCase object.
Parameterstest_dictA test dict as generated by StreamToDict.
ReturnsA PlaceHolder test object.
+
+
+ + + + + + +
+ + def + _merge_tags(existing, changed): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _format_text_attachment(name, text): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _details_to_str(details, special=None): + +
+
+ +
Convert a details dict to a string.
ParametersdetailsA dictionary mapping short names to Content objects.
specialIf specified, an attachment that should have special +attention drawn to it. The primary attachment. Normally it's the +traceback that caused the test to fail.
ReturnsA formatted string that can be included in text test results.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.__init__.html b/apidocs/testtools.tests.__init__.html new file mode 100644 index 0000000..b3be0ca --- /dev/null +++ b/apidocs/testtools.tests.__init__.html @@ -0,0 +1,87 @@ + + + + + testtools.tests.__init__ : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for testtools itself.
+
+ +
+ + + + + + + + +
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.FullStackRunTest.html b/apidocs/testtools.tests.helpers.FullStackRunTest.html new file mode 100644 index 0000000..d419897 --- /dev/null +++ b/apidocs/testtools.tests.helpers.FullStackRunTest.html @@ -0,0 +1,167 @@ + + + + + testtools.tests.helpers.FullStackRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_run_userRun a user supplied function.
+ +

+ Inherited from RunTest: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
MethodrunRun self.case reporting activity to result.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _run_user(self, fn, *args, **kwargs): + +
+
+ +

Run a user supplied function.

+

Exceptions are processed by _got_user_exception.

ReturnsEither whatever 'fn' returns or exception_caught if +'fn' raised an exception.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.LoggingResult.html b/apidocs/testtools.tests.helpers.LoggingResult.html new file mode 100644 index 0000000..8158620 --- /dev/null +++ b/apidocs/testtools.tests.helpers.LoggingResult.html @@ -0,0 +1,420 @@ + + + + + testtools.tests.helpers.LoggingResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
TestResult that logs its event to a list.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodstartTestUndocumented
MethodstopUndocumented
MethodstopTestUndocumented
MethodaddFailureCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddErrorCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().
MethodaddSkipCalled when a test has been skipped rather than running.
MethodaddSuccessCalled when a test succeeded.
MethodstartTestRunCalled before a test run starts.
MethodstopTestRunCalled after a test run completes
MethoddoneCalled when the test runner is done.
MethodtagsAdd and remove tags from the test.
MethodtimeProvide a timestamp to represent the current time.
+ +

+ Inherited from TestResult: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance Variableskip_reasonsA dict of skip-reasons -> list of tests. See addSkip.
MethodaddExpectedFailureCalled when a test has failed in an expected manner.
MethodaddUnexpectedSuccessCalled when a test was expected to fail, but succeed.
MethodwasSuccessfulHas this result been successful so far?
Methodcurrent_tagsThe currently set tags.
Method_err_details_to_stringConvert an error in exc_info form or a contents dict to a string.
Method_exc_info_to_unicodeUndocumented
Method_nowReturn the current 'test time'.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, log): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + startTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + stopTest(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + addFailure(self, test, error): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addError(self, test, error): + +
+
+ +
Called when an error has occurred. 'err' is a tuple of values as +returned by sys.exc_info().
ParametersdetailsAlternative way to supply details about the outcome. +see the class docstring for more information.
+
+
+ + + + + + +
+ + def + addSkip(self, test, reason): + +
+
+ +

Called when a test has been skipped rather than running.

+

Like with addSuccess and addError, testStopped should still be called.

+

This must be called by the TestCase. 'addError' and 'addFailure' will +not call addSkip, since they have no assumptions about the kind of +errors that a test can raise.

ParameterstestThe test that has been skipped.
reasonThe reason for the test being skipped. For instance, +u"pyGL is not available".
detailsAlternative way to supply details about the outcome. +see the class docstring for more information.
ReturnsNone
+
+
+ + + + + + +
+ + def + addSuccess(self, test): + +
+
+ +
Called when a test succeeded.
+
+
+ + + + + + +
+ + def + startTestRun(self): + +
+
+ +

Called before a test run starts.

+

New in Python 2.7. The testtools version resets the result to a +pristine condition ready for use in another test run. Note that this +is different from Python 2.7's startTestRun, which does nothing.

+
+
+ + + + + + +
+ + def + stopTestRun(self): + +
+
+ +

Called after a test run completes

+

New in python 2.7

+
+
+ + + + + + +
+ + def + done(self): + +
+
+ +

Called when the test runner is done.

+

deprecated in favour of stopTestRun.

+
+
+ + + + + + +
+ + def + tags(self, new_tags, gone_tags): + +
+
+ +
Add and remove tags from the test.
Parametersnew_tagsA set of tags to be added to the stream.
gone_tagsA set of tags to be removed from the stream.
+
+
+ + + + + + +
+ + def + time(self, a_datetime): + +
+
+ +

Provide a timestamp to represent the current time.

+

This is useful when test activity is time delayed, or happening +concurrently and getting the system time between API calls will not +accurately represent the duration of tests (or the whole run).

+

Calling time() sets the datetime used by the TestResult object. +Time is permitted to go backwards when using this call.

Parametersa_datetimeA datetime.datetime object with TZ information or +None to reset the TestResult to gathering time from the system.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.helpers.html b/apidocs/testtools.tests.helpers.html new file mode 100644 index 0000000..860b4d4 --- /dev/null +++ b/apidocs/testtools.tests.helpers.html @@ -0,0 +1,141 @@ + + + + + testtools.tests.helpers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Helpers for tests.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassLoggingResultTestResult that logs its event to a list.
Functionis_stack_hiddenUndocumented
Functionhide_testtools_stackUndocumented
Functionrun_with_stack_hiddenUndocumented
ClassFullStackRunTestUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + is_stack_hidden(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + hide_testtools_stack(should_hide=True): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + run_with_stack_hidden(should_hide, f, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.html b/apidocs/testtools.tests.html new file mode 100644 index 0000000..7179a1d --- /dev/null +++ b/apidocs/testtools.tests.html @@ -0,0 +1,185 @@ + + + + + testtools.tests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for testtools itself.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ModulehelpersHelpers for tests.
PackagematchersNo package docstring; 1/9 modules documented
Moduletest_assert_thatNo module docstring; 1/3 classes, 0/1 functions documented
Moduletest_compatTests for miscellaneous compatibility functions
Moduletest_contentUndocumented
Moduletest_content_typeUndocumented
Moduletest_deferredruntestTests for the DeferredRunTest single test execution logic.
Moduletest_distutilscmdTests for the distutils test command logic.
Moduletest_fixturesupportUndocumented
Moduletest_helpersUndocumented
Moduletest_monkeyTests for testtools.monkey.
Moduletest_runTests for the test runner logic.
Moduletest_runtestTests for the RunTest single test execution logic.
Moduletest_spinnerTests for the evil Twisted reactor-spinning we do.
Moduletest_tagsTest tag support.
Moduletest_testcaseTests for extensions to the base test library.
Moduletest_testresultTest TestResults and related things.
Moduletest_testsuiteTest ConcurrentTestSuite and related things.
Moduletest_with_withNo module docstring; 1/1 classes, 0/1 functions documented
+ + +

From the __init__.py module:

+ + + + + + + +
Functiontest_suiteUndocumented
+
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.__init__.html b/apidocs/testtools.tests.matchers.__init__.html new file mode 100644 index 0000000..b35a1a3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.__init__.html @@ -0,0 +1,87 @@ + + + + + testtools.tests.matchers.__init__ : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html b/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html new file mode 100644 index 0000000..e45c991 --- /dev/null +++ b/apidocs/testtools.tests.matchers.helpers.TestMatchersInterface.html @@ -0,0 +1,153 @@ + + + + + testtools.tests.matchers.helpers.TestMatchersInterface : API documentation + + + + + + + + + +
+ + + +
+

Known subclasses: testtools.tests.matchers.test_basic.TestContainsInterface, testtools.tests.matchers.test_basic.TestEqualsInterface, testtools.tests.matchers.test_basic.TestGreaterThanInterface, testtools.tests.matchers.test_basic.TestHasLength, testtools.tests.matchers.test_basic.TestIsInstanceInterface, testtools.tests.matchers.test_basic.TestIsInterface, testtools.tests.matchers.test_basic.TestLessThanInterface, testtools.tests.matchers.test_basic.TestMatchesRegex, testtools.tests.matchers.test_basic.TestNotEqualsInterface, testtools.tests.matchers.test_basic.TestSameMembers, testtools.tests.matchers.test_datastructures.TestContainsAllInterface, testtools.tests.matchers.test_datastructures.TestMatchesStructure, testtools.tests.matchers.test_dict.TestContainedByDict, testtools.tests.matchers.test_dict.TestContainsDict, testtools.tests.matchers.test_dict.TestKeysEqualWithList, testtools.tests.matchers.test_dict.TestMatchesAllDictInterface, testtools.tests.matchers.test_dict.TestMatchesDict, testtools.tests.matchers.test_dict.TestSubDictOf, testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface, testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode, testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface, testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface, testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface, testtools.tests.matchers.test_exception.TestRaisesInterface, testtools.tests.matchers.test_higherorder.TestAfterPreprocessing, testtools.tests.matchers.test_higherorder.TestAllMatch, testtools.tests.matchers.test_higherorder.TestAnnotate, testtools.tests.matchers.test_higherorder.TestAnyMatch, testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface, testtools.tests.matchers.test_higherorder.TestMatchesAllInterface, testtools.tests.matchers.test_higherorder.TestMatchesPredicate, testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams, testtools.tests.matchers.test_higherorder.TestNotInterface

+
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_matches_match(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__str__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_difference(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.helpers.html b/apidocs/testtools.tests.matchers.helpers.html new file mode 100644 index 0000000..c0a515c --- /dev/null +++ b/apidocs/testtools.tests.matchers.helpers.html @@ -0,0 +1,70 @@ + + + + + testtools.tests.matchers.helpers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
ClassTestMatchersInterfaceUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.html b/apidocs/testtools.tests.matchers.html new file mode 100644 index 0000000..63b0cc1 --- /dev/null +++ b/apidocs/testtools.tests.matchers.html @@ -0,0 +1,135 @@ + + + + + testtools.tests.matchers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No package docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ModulehelpersUndocumented
Moduletest_basicNo module docstring; 1/15 classes, 0/1 functions documented
Moduletest_datastructuresUndocumented
Moduletest_dictUndocumented
Moduletest_doctestUndocumented
Moduletest_exceptionUndocumented
Moduletest_filesystemUndocumented
Moduletest_higherorderUndocumented
Moduletest_implTests for matchers.
+ + +

From the __init__.py module:

+ + + + + + + +
Functiontest_suiteUndocumented
+
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html b/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html new file mode 100644 index 0000000..37e42ac --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.DoesNotEndWithTests.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.matchers.test_basic.DoesNotEndWithTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_describeUndocumented
Methodtest_describe_non_ascii_unicodeUndocumented
Methodtest_describe_non_ascii_bytesUndocumented
+ +

+ 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 + test_describe(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_non_ascii_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_non_ascii_bytes(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html b/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html new file mode 100644 index 0000000..a057801 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.DoesNotStartWithTests.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.matchers.test_basic.DoesNotStartWithTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_describeUndocumented
Methodtest_describe_non_ascii_unicodeUndocumented
Methodtest_describe_non_ascii_bytesUndocumented
+ +

+ 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 + test_describe(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_non_ascii_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_non_ascii_bytes(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html b/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html new file mode 100644 index 0000000..dd5e913 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.EndsWithTests.html @@ -0,0 +1,467 @@ + + + + + testtools.tests.matchers.test_basic.EndsWithTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_strUndocumented
Methodtest_str_with_bytesUndocumented
Methodtest_str_with_unicodeUndocumented
Methodtest_matchUndocumented
Methodtest_mismatch_returns_does_not_end_withUndocumented
Methodtest_mismatch_sets_matcheeUndocumented
Methodtest_mismatch_sets_expectedUndocumented
+ +

+ 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 + test_str(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_with_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_with_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_match(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_returns_does_not_end_with(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_sets_matchee(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_sets_expected(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html b/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html new file mode 100644 index 0000000..4836d7b --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.StartsWithTests.html @@ -0,0 +1,467 @@ + + + + + testtools.tests.matchers.test_basic.StartsWithTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_strUndocumented
Methodtest_str_with_bytesUndocumented
Methodtest_str_with_unicodeUndocumented
Methodtest_matchUndocumented
Methodtest_mismatch_returns_does_not_start_withUndocumented
Methodtest_mismatch_sets_matcheeUndocumented
Methodtest_mismatch_sets_expectedUndocumented
+ +

+ 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 + test_str(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_with_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_with_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_match(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_returns_does_not_start_with(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_sets_matchee(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch_sets_expected(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html new file mode 100644 index 0000000..d49d142 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestContainsInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestContainsInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html new file mode 100644 index 0000000..e68e012 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestEqualsInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestEqualsInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html new file mode 100644 index 0000000..a689543 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestGreaterThanInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestGreaterThanInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html b/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html new file mode 100644 index 0000000..716f34e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestHasLength.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestHasLength : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html new file mode 100644 index 0000000..e719384 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo.html @@ -0,0 +1,62 @@ + + + + + testtools.tests.matchers.test_basic.TestIsInstanceInterface.Foo : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html new file mode 100644 index 0000000..78b9c35 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInstanceInterface.html @@ -0,0 +1,126 @@ + + + + + testtools.tests.matchers.test_basic.TestIsInstanceInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
ClassFooUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html new file mode 100644 index 0000000..67fe059 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestIsInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestIsInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html new file mode 100644 index 0000000..17b0f9a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestLessThanInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestLessThanInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html b/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html new file mode 100644 index 0000000..937c2ca --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestMatchesRegex.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestMatchesRegex : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html b/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html new file mode 100644 index 0000000..6d12206 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestNotEqualsInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestNotEqualsInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html b/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html new file mode 100644 index 0000000..542a073 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.TestSameMembers.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_basic.TestSameMembers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html new file mode 100644 index 0000000..8138817 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.matchers.test_basic.Test_BinaryMismatch.CustomRepr : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, repr_string): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html new file mode 100644 index 0000000..eaff811 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.Test_BinaryMismatch.html @@ -0,0 +1,472 @@ + + + + + testtools.tests.matchers.test_basic.Test_BinaryMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Mismatches from binary comparisons need useful describe output
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassCustomReprUndocumented
Methodtest_short_objectsUndocumented
Methodtest_short_mixed_stringsUndocumented
Methodtest_long_bytesUndocumented
Methodtest_long_unicodeUndocumented
Methodtest_long_mixed_stringsUndocumented
Methodtest_long_bytes_and_objectUndocumented
Methodtest_long_unicode_and_objectUndocumented
+ +

+ 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 + test_short_objects(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_short_mixed_strings(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_long_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_long_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_long_mixed_strings(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_long_bytes_and_object(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_long_unicode_and_object(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_basic.html b/apidocs/testtools.tests.matchers.test_basic.html new file mode 100644 index 0000000..491f417 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_basic.html @@ -0,0 +1,162 @@ + + + + + testtools.tests.matchers.test_basic : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTest_BinaryMismatchMismatches from binary comparisons need useful describe output
ClassTestEqualsInterfaceUndocumented
ClassTestNotEqualsInterfaceUndocumented
ClassTestIsInterfaceUndocumented
ClassTestIsInstanceInterfaceUndocumented
ClassTestLessThanInterfaceUndocumented
ClassTestGreaterThanInterfaceUndocumented
ClassTestContainsInterfaceUndocumented
ClassDoesNotStartWithTestsUndocumented
ClassStartsWithTestsUndocumented
ClassDoesNotEndWithTestsUndocumented
ClassEndsWithTestsUndocumented
ClassTestSameMembersUndocumented
ClassTestMatchesRegexUndocumented
ClassTestHasLengthUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html b/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html new file mode 100644 index 0000000..1d8b275 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestContainsAllInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_datastructures.TestContainsAllInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html new file mode 100644 index 0000000..dc05440 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesListwise.html @@ -0,0 +1,335 @@ + + + + + testtools.tests.matchers.test_datastructures.TestMatchesListwise : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_docstringUndocumented
+ +

+ 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 + test_docstring(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file 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 diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html new file mode 100644 index 0000000..3e1408c --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass.html @@ -0,0 +1,87 @@ + + + + + testtools.tests.matchers.test_datastructures.TestMatchesStructure.SimpleClass : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, x, y): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html new file mode 100644 index 0000000..3f55561 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.TestMatchesStructure.html @@ -0,0 +1,236 @@ + + + + + testtools.tests.matchers.test_datastructures.TestMatchesStructure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassSimpleClassUndocumented
Methodtest_fromExampleUndocumented
Methodtest_byEqualityUndocumented
Methodtest_withStructureUndocumented
Methodtest_updateUndocumented
Methodtest_update_noneUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_fromExample(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_byEquality(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_withStructure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_update(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_update_none(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_datastructures.html b/apidocs/testtools.tests.matchers.test_datastructures.html new file mode 100644 index 0000000..28b1999 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_datastructures.html @@ -0,0 +1,129 @@ + + + + + testtools.tests.matchers.test_datastructures : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functionrun_doctestUndocumented
ClassTestMatchesListwiseUndocumented
ClassTestMatchesStructureUndocumented
ClassTestMatchesSetwiseUndocumented
ClassTestContainsAllInterfaceUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + run_doctest(obj, name): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html b/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html new file mode 100644 index 0000000..0a8d613 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestContainedByDict.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_dict.TestContainedByDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html b/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html new file mode 100644 index 0000000..ba73b99 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestContainsDict.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_dict.TestContainsDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html new file mode 100644 index 0000000..b850132 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithDict.html @@ -0,0 +1,146 @@ + + + + + testtools.tests.matchers.test_dict.TestKeysEqualWithDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface (via TestKeysEqualWithList): +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface (via TestKeysEqualWithList): +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface (via TestKeysEqualWithList): +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html new file mode 100644 index 0000000..3fb2a5f --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestKeysEqualWithList.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.matchers.test_dict.TestKeysEqualWithList : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_descriptionUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_description(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html b/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html new file mode 100644 index 0000000..964d773 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestMatchesAllDictInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_dict.TestMatchesAllDictInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html b/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html new file mode 100644 index 0000000..e670290 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestMatchesDict.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_dict.TestMatchesDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html b/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html new file mode 100644 index 0000000..a558819 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.TestSubDictOf.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_dict.TestSubDictOf : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_dict.html b/apidocs/testtools.tests.matchers.test_dict.html new file mode 100644 index 0000000..191b930 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_dict.html @@ -0,0 +1,122 @@ + + + + + testtools.tests.matchers.test_dict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestMatchesAllDictInterfaceUndocumented
ClassTestKeysEqualWithListUndocumented
ClassTestKeysEqualWithDictUndocumented
ClassTestSubDictOfUndocumented
ClassTestMatchesDictUndocumented
ClassTestContainsDictUndocumented
ClassTestContainedByDictUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html new file mode 100644 index 0000000..41f7af6 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_doctest.TestDocTestMatchesInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html new file mode 100644 index 0000000..f9c0558 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_doctest.TestDocTestMatchesInterfaceUnicode : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html new file mode 100644 index 0000000..054615a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific.html @@ -0,0 +1,382 @@ + + + + + testtools.tests.matchers.test_doctest.TestDocTestMatchesSpecific : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest___init__simpleUndocumented
Methodtest___init__flagsUndocumented
Methodtest_describe_non_ascii_bytesEven with bytestrings, the mismatch should be coercible to unicode
+ +

+ 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 + test___init__simple(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init__flags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_describe_non_ascii_bytes(self): + +
+
+ +

Even with bytestrings, the mismatch should be coercible to unicode

+

DocTestMatches is intended for text, but the Python 2 str type also +permits arbitrary binary inputs. This is a slightly bogus thing to do, +and under Python 3 using bytes objects will reasonably raise an error.

+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_doctest.html b/apidocs/testtools.tests.matchers.test_doctest.html new file mode 100644 index 0000000..9900a90 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_doctest.html @@ -0,0 +1,102 @@ + + + + + testtools.tests.matchers.test_doctest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassTestDocTestMatchesInterfaceUndocumented
ClassTestDocTestMatchesInterfaceUnicodeUndocumented
ClassTestDocTestMatchesSpecificNo class docstring; 1/3 methods documented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html new file mode 100644 index 0000000..53b18e8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_exception.TestMatchesExceptionInstanceInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html new file mode 100644 index 0000000..00fda36 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_exception.TestMatchesExceptionTypeInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html new file mode 100644 index 0000000..ff3b600 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_exception.TestMatchesExceptionTypeMatcherInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html new file mode 100644 index 0000000..348997b --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_exception.TestMatchesExceptionTypeReInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html new file mode 100644 index 0000000..862d7cc --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesBaseTypes.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.matchers.test_exception.TestRaisesBaseTypes : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
MethodraiserUndocumented
Methodtest_KeyboardInterrupt_matchedUndocumented
Methodtest_KeyboardInterrupt_propogatesUndocumented
Methodtest_KeyboardInterrupt_match_Exception_propogatesUndocumented
+ +

+ 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 + raiser(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_KeyboardInterrupt_matched(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_KeyboardInterrupt_propogates(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_KeyboardInterrupt_match_Exception_propogates(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html new file mode 100644 index 0000000..6f61b89 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesConvenience.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.matchers.test_exception.TestRaisesConvenience : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_exc_typeUndocumented
Methodtest_exc_valueUndocumented
+ +

+ 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 + test_exc_type(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_exc_value(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html new file mode 100644 index 0000000..0345b29 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface.html @@ -0,0 +1,165 @@ + + + + + testtools.tests.matchers.test_exception.TestRaisesExceptionMatcherInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodboom_barUndocumented
Methodboom_fooUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + boom_bar(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + boom_foo(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html b/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html new file mode 100644 index 0000000..05ee713 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.TestRaisesInterface.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.matchers.test_exception.TestRaisesInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodboomUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + boom(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_exception.html b/apidocs/testtools.tests.matchers.test_exception.html new file mode 100644 index 0000000..b9f46fe --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_exception.html @@ -0,0 +1,149 @@ + + + + + testtools.tests.matchers.test_exception : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functionmake_errorUndocumented
ClassTestMatchesExceptionInstanceInterfaceUndocumented
ClassTestMatchesExceptionTypeInterfaceUndocumented
ClassTestMatchesExceptionTypeReInterfaceUndocumented
ClassTestMatchesExceptionTypeMatcherInterfaceUndocumented
ClassTestRaisesInterfaceUndocumented
ClassTestRaisesExceptionMatcherInterfaceUndocumented
ClassTestRaisesBaseTypesUndocumented
ClassTestRaisesConvenienceUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + make_error(type, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html b/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html new file mode 100644 index 0000000..1ab074e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.PathHelpers.html @@ -0,0 +1,131 @@ + + + + + testtools.tests.matchers.test_filesystem.PathHelpers : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + mkdtemp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + create_file(self, filename, contents=''): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + touch(self, filename): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html new file mode 100644 index 0000000..30d4bf8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestDirContains.html @@ -0,0 +1,265 @@ + + + + + testtools.tests.matchers.test_filesystem.TestDirContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_emptyUndocumented
Methodtest_not_existsUndocumented
Methodtest_contains_filesUndocumented
Methodtest_matcherUndocumented
Methodtest_neither_specifiedUndocumented
Methodtest_both_specifiedUndocumented
Methodtest_does_not_contain_filesUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_empty(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_contains_files(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_matcher(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_neither_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_both_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_does_not_contain_files(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html new file mode 100644 index 0000000..e585e6a --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestDirExists.html @@ -0,0 +1,177 @@ + + + + + testtools.tests.matchers.test_filesystem.TestDirExists : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_existsUndocumented
Methodtest_not_existsUndocumented
Methodtest_not_a_directoryUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_a_directory(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html new file mode 100644 index 0000000..544ce93 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestFileContains.html @@ -0,0 +1,243 @@ + + + + + testtools.tests.matchers.test_filesystem.TestFileContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_not_existsUndocumented
Methodtest_containsUndocumented
Methodtest_matcherUndocumented
Methodtest_neither_specifiedUndocumented
Methodtest_both_specifiedUndocumented
Methodtest_does_not_containUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_not_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_contains(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_matcher(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_neither_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_both_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_does_not_contain(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html new file mode 100644 index 0000000..28e1b96 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestFileExists.html @@ -0,0 +1,177 @@ + + + + + testtools.tests.matchers.test_filesystem.TestFileExists : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_existsUndocumented
Methodtest_not_existsUndocumented
Methodtest_not_a_fileUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_a_file(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html b/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html new file mode 100644 index 0000000..3b188ca --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestHasPermissions.html @@ -0,0 +1,133 @@ + + + + + testtools.tests.matchers.test_filesystem.TestHasPermissions : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_matchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_match(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html b/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html new file mode 100644 index 0000000..dc93e14 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestPathExists.html @@ -0,0 +1,155 @@ + + + + + testtools.tests.matchers.test_filesystem.TestPathExists : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_existsUndocumented
Methodtest_not_existsUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_exists(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html b/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html new file mode 100644 index 0000000..8594630 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestSamePath.html @@ -0,0 +1,177 @@ + + + + + testtools.tests.matchers.test_filesystem.TestSamePath : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_same_stringUndocumented
Methodtest_relative_and_absoluteUndocumented
Methodtest_real_pathUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_same_string(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_relative_and_absolute(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_real_path(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html b/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html new file mode 100644 index 0000000..f4fa974 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.TestTarballContains.html @@ -0,0 +1,155 @@ + + + + + testtools.tests.matchers.test_filesystem.TestTarballContains : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_matchUndocumented
Methodtest_mismatchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ +

+ Inherited from PathHelpers: +

+ + + + + + + + + + + + + + + + + + +
MethodmkdtempUndocumented
Methodcreate_fileUndocumented
MethodtouchUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_match(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_mismatch(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_filesystem.html b/apidocs/testtools.tests.matchers.test_filesystem.html new file mode 100644 index 0000000..001a1fe --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_filesystem.html @@ -0,0 +1,132 @@ + + + + + testtools.tests.matchers.test_filesystem : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassPathHelpersUndocumented
ClassTestPathExistsUndocumented
ClassTestDirExistsUndocumented
ClassTestFileExistsUndocumented
ClassTestDirContainsUndocumented
ClassTestFileContainsUndocumented
ClassTestTarballContainsUndocumented
ClassTestSamePathUndocumented
ClassTestHasPermissionsUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html new file mode 100644 index 0000000..a4666f4 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAfterPreprocessing.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.matchers.test_higherorder.TestAfterPreprocessing : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodparityUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + parity(x): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html new file mode 100644 index 0000000..392dd80 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAllMatch.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestAllMatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html new file mode 100644 index 0000000..9189ce3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotate.html @@ -0,0 +1,165 @@ + + + + + testtools.tests.matchers.test_higherorder.TestAnnotate : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_if_message_no_messageUndocumented
Methodtest_if_message_given_messageUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_if_message_no_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_if_message_given_message(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html new file mode 100644 index 0000000..09fb132 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch.html @@ -0,0 +1,335 @@ + + + + + testtools.tests.matchers.test_higherorder.TestAnnotatedMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_forwards_detailsUndocumented
+ +

+ 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 + test_forwards_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html b/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html new file mode 100644 index 0000000..556ad46 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestAnyMatch.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestAnyMatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html new file mode 100644 index 0000000..84c5bc1 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestMatchersAnyInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html new file mode 100644 index 0000000..2c30a2e --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesAllInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestMatchesAllInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html new file mode 100644 index 0000000..336c5e5 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicate.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestMatchesPredicate : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html new file mode 100644 index 0000000..a111ca3 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestMatchesPredicateWithParams : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html b/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html new file mode 100644 index 0000000..7825eaa --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.TestNotInterface.html @@ -0,0 +1,118 @@ + + + + + testtools.tests.matchers.test_higherorder.TestNotInterface : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ +

+ Inherited from TestMatchersInterface: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_matches_matchUndocumented
Methodtest__str__Undocumented
Methodtest_describe_differenceUndocumented
Methodtest_mismatch_detailsUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_higherorder.html b/apidocs/testtools.tests.matchers.test_higherorder.html new file mode 100644 index 0000000..34af7d2 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_higherorder.html @@ -0,0 +1,181 @@ + + + + + testtools.tests.matchers.test_higherorder : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestAllMatchUndocumented
ClassTestAnyMatchUndocumented
ClassTestAfterPreprocessingUndocumented
ClassTestMatchersAnyInterfaceUndocumented
ClassTestMatchesAllInterfaceUndocumented
ClassTestAnnotateUndocumented
ClassTestAnnotatedMismatchUndocumented
ClassTestNotInterfaceUndocumented
Functionis_evenUndocumented
ClassTestMatchesPredicateUndocumented
FunctionbetweenUndocumented
ClassTestMatchesPredicateWithParamsUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + is_even(x): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + between(x, low, high): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html new file mode 100644 index 0000000..8fb17f8 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatch.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.matchers.test_impl.TestMismatch : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_constructor_argumentsUndocumented
Methodtest_constructor_no_argumentsUndocumented
+ +

+ 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 + test_constructor_arguments(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_constructor_no_arguments(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html new file mode 100644 index 0000000..1dc4434 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatchDecorator.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.matchers.test_impl.TestMismatchDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_forwards_descriptionUndocumented
Methodtest_forwards_detailsUndocumented
Methodtest_reprUndocumented
+ +

+ 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 + test_forwards_description(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_forwards_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_repr(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html b/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html new file mode 100644 index 0000000..06ad317 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.TestMismatchError.html @@ -0,0 +1,423 @@ + + + + + testtools.tests.matchers.test_impl.TestMismatchError : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_is_assertion_errorUndocumented
Methodtest_default_description_is_mismatchUndocumented
Methodtest_default_description_unicodeUndocumented
Methodtest_verbose_descriptionUndocumented
Methodtest_verbose_unicodeUndocumented
+ +

+ 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 + test_is_assertion_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_default_description_is_mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_default_description_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_verbose_description(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_verbose_unicode(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.matchers.test_impl.html b/apidocs/testtools.tests.matchers.test_impl.html new file mode 100644 index 0000000..e207c74 --- /dev/null +++ b/apidocs/testtools.tests.matchers.test_impl.html @@ -0,0 +1,102 @@ + + + + + testtools.tests.matchers.test_impl : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for matchers.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassTestMismatchUndocumented
ClassTestMismatchErrorUndocumented
ClassTestMismatchDecoratorUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.AssertThatTests.html b/apidocs/testtools.tests.test_assert_that.AssertThatTests.html new file mode 100644 index 0000000..3d19a10 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.AssertThatTests.html @@ -0,0 +1,270 @@ + + + + + testtools.tests.test_assert_that.AssertThatTests : API documentation + + + + + + + + + +
+ + + + + +
+
A mixin containing shared tests for assertThat and assert_that.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodassert_that_callableUndocumented
MethodassertFailsAssert that function raises a failure with the given message.
Methodtest_assertThat_matches_cleanUndocumented
Methodtest_assertThat_mismatch_raises_descriptionUndocumented
Methodtest_assertThat_outputUndocumented
Methodtest_assertThat_message_is_annotatedUndocumented
Methodtest_assertThat_verbose_outputUndocumented
Methodget_error_stringGet the string showing how 'e' would be formatted in test output.
Methodtest_assertThat_verbose_unicodeUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + assert_that_callable(self, *args, **kwargs): + +
+ +
+ + + + + + +
+ + def + assertFails(self, message, function, *args, **kwargs): + +
+
+ +
Assert that function raises a failure with the given message.
+
+
+ + + + + + +
+ + def + test_assertThat_matches_clean(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_mismatch_raises_description(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_message_is_annotated(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_verbose_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + get_error_string(self, e): + +
+
+ +

Get the string showing how 'e' would be formatted in test output.

+

This is a little bit hacky, since it's designed to give consistent +output regardless of Python version.

+

In testtools, TestResult._exc_info_to_unicode is the point of dispatch +between various different implementations of methods that format +exceptions, so that's what we have to call. However, that method cares +about stack traces and formats the exception class. We don't care +about either of these, so we take its output and parse it a little.

+
+
+ + + + + + +
+ + def + test_assertThat_verbose_unicode(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html b/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html new file mode 100644 index 0000000..c6f00a4 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.TestAssertThatFunction.html @@ -0,0 +1,583 @@ + + + + + testtools.tests.test_assert_that.TestAssertThatFunction : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodassert_that_callableUndocumented
+ +

+ 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.
+ +

+ 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 + assert_that_callable(self, *args, **kwargs): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html b/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html new file mode 100644 index 0000000..37dc5e7 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.TestAssertThatMethod.html @@ -0,0 +1,583 @@ + + + + + testtools.tests.test_assert_that.TestAssertThatMethod : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodassert_that_callableUndocumented
+ +

+ 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.
+ +

+ 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 + assert_that_callable(self, *args, **kwargs): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_assert_that.html b/apidocs/testtools.tests.test_assert_that.html new file mode 100644 index 0000000..3f08c84 --- /dev/null +++ b/apidocs/testtools.tests.test_assert_that.html @@ -0,0 +1,102 @@ + + + + + testtools.tests.test_assert_that : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassAssertThatTestsA mixin containing shared tests for assertThat and assert_that.
ClassTestAssertThatFunctionUndocumented
ClassTestAssertThatMethodUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestReraise.html b/apidocs/testtools.tests.test_compat.TestReraise.html new file mode 100644 index 0000000..0b42008 --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestReraise.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_compat.TestReraise : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for trivial reraise wrapper needed for Python 2/3 changes
+
+ +
+ + + + + + + + + + + + + +
Methodtest_exc_infoAfter reraise exc_info matches plus some extra traceback
Methodtest_custom_exception_no_argsReraising does not require args attribute to contain params
+ +

+ 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 + test_exc_info(self): + +
+
+ +
After reraise exc_info matches plus some extra traceback
+
+
+ + + + + + +
+ + def + test_custom_exception_no_args(self): + +
+
+ +
Reraising does not require args attribute to contain params
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestTextRepr.html b/apidocs/testtools.tests.test_compat.TestTextRepr.html new file mode 100644 index 0000000..68b7762 --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestTextRepr.html @@ -0,0 +1,533 @@ + + + + + testtools.tests.test_compat.TestTextRepr : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Ensure in extending repr, basic behaviours are not being broken
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_ascii_examples_oneline_bytesUndocumented
Methodtest_ascii_examples_oneline_unicodeUndocumented
Methodtest_ascii_examples_multiline_bytesUndocumented
Methodtest_ascii_examples_multiline_unicodeUndocumented
Methodtest_ascii_examples_defaultline_bytesUndocumented
Methodtest_ascii_examples_defaultline_unicodeUndocumented
Methodtest_bytes_examples_onelineUndocumented
Methodtest_bytes_examples_multilineUndocumented
Methodtest_unicode_examples_onelineUndocumented
Methodtest_unicode_examples_multilineUndocumented
+ +

+ 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 + test_ascii_examples_oneline_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_ascii_examples_oneline_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_ascii_examples_multiline_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_ascii_examples_multiline_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_ascii_examples_defaultline_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_ascii_examples_defaultline_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_bytes_examples_oneline(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_bytes_examples_multiline(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_unicode_examples_oneline(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_unicode_examples_multiline(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html b/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html new file mode 100644 index 0000000..b752a8f --- /dev/null +++ b/apidocs/testtools.tests.test_compat.TestUnicodeOutputStream.html @@ -0,0 +1,550 @@ + + + + + testtools.tests.test_compat.TestUnicodeOutputStream : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test wrapping output streams so they work with arbitrary unicode
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_no_encoding_becomes_asciiA stream with no encoding attribute gets ascii/replace strings
Methodtest_encoding_as_none_becomes_asciiA stream with encoding value of None gets ascii/replace strings
Methodtest_bogus_encoding_becomes_asciiA stream with a bogus encoding gets ascii/replace strings
Methodtest_partial_encoding_replaceA string which can be partly encoded correctly should be
Methodtest_unicode_encodings_wrapped_when_str_is_not_unicodeA unicode encoding is wrapped but needs no error handler
Methodtest_unicode_encodings_not_wrapped_when_str_is_unicodeUndocumented
Methodtest_stringioA StringIO object should maybe get an ascii native str type
Methodtest_io_stringioUndocumented
Methodtest_io_bytesioUndocumented
Methodtest_io_textwrapperUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_no_encoding_becomes_ascii(self): + +
+
+ +
A stream with no encoding attribute gets ascii/replace strings
+
+
+ + + + + + +
+ + def + test_encoding_as_none_becomes_ascii(self): + +
+
+ +
A stream with encoding value of None gets ascii/replace strings
+
+
+ + + + + + +
+ + def + test_bogus_encoding_becomes_ascii(self): + +
+
+ +
A stream with a bogus encoding gets ascii/replace strings
+
+
+ + + + + + +
+ + def + test_partial_encoding_replace(self): + +
+
+ +
A string which can be partly encoded correctly should be
+
+
+ + + + + + +
+ @testtools.skipIf(str_is_unicode, 'Tests behaviour when str is not unicode')
+ def + test_unicode_encodings_wrapped_when_str_is_not_unicode(self): + +
+
+ +
A unicode encoding is wrapped but needs no error handler
+
+
+ + + + + + +
+ @testtools.skipIf(str_is_unicode, 'Tests behaviour when str is unicode')
+ def + test_unicode_encodings_not_wrapped_when_str_is_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stringio(self): + +
+
+ +
A StringIO object should maybe get an ascii native str type
+
+
+ + + + + + +
+ + def + test_io_stringio(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_io_bytesio(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_io_textwrapper(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat._FakeOutputStream.html b/apidocs/testtools.tests.test_compat._FakeOutputStream.html new file mode 100644 index 0000000..78a1828 --- /dev/null +++ b/apidocs/testtools.tests.test_compat._FakeOutputStream.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.test_compat._FakeOutputStream : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A simple file-like object for testing
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodwriteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + write(self, obj): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_compat.html b/apidocs/testtools.tests.test_compat.html new file mode 100644 index 0000000..518ceed --- /dev/null +++ b/apidocs/testtools.tests.test_compat.html @@ -0,0 +1,107 @@ + + + + + testtools.tests.test_compat : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for miscellaneous compatibility functions
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestUnicodeOutputStreamTest wrapping output streams so they work with arbitrary unicode
ClassTestTextReprEnsure in extending repr, basic behaviours are not being broken
ClassTestReraiseTests for trivial reraise wrapper needed for Python 2/3 changes
Functiontest_suiteUndocumented
Class_FakeOutputStreamA simple file-like object for testing
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestAttachFile.html b/apidocs/testtools.tests.test_content.TestAttachFile.html new file mode 100644 index 0000000..f3e5afb --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestAttachFile.html @@ -0,0 +1,423 @@ + + + + + testtools.tests.test_content.TestAttachFile : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_fileUndocumented
Methodtest_simpleUndocumented
Methodtest_optional_nameUndocumented
Methodtest_lazy_readUndocumented
Methodtest_eager_read_by_defaultUndocumented
+ +

+ 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 + make_file(self, data): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_simple(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_optional_name(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_lazy_read(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_eager_read_by_default(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestContent.html b/apidocs/testtools.tests.test_content.TestContent.html new file mode 100644 index 0000000..102f999 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestContent.html @@ -0,0 +1,819 @@ + + + + + testtools.tests.test_content.TestContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest___init___None_errorsUndocumented
Methodtest___init___sets_ivarsUndocumented
Methodtest___eq__Undocumented
Methodtest___repr__Undocumented
Methodtest_iter_text_not_text_errorsUndocumented
Methodtest_iter_text_decodesUndocumented
Methodtest_iter_text_default_charset_iso_8859_1Undocumented
Methodtest_as_textUndocumented
Methodtest_from_fileUndocumented
Methodtest_from_nonexistent_fileUndocumented
Methodtest_from_file_default_typeUndocumented
Methodtest_from_file_eager_loadingUndocumented
Methodtest_from_file_with_simple_seekUndocumented
Methodtest_from_file_with_whence_seekUndocumented
Methodtest_from_streamUndocumented
Methodtest_from_stream_default_typeUndocumented
Methodtest_from_stream_eager_loadingUndocumented
Methodtest_from_stream_with_simple_seekUndocumented
Methodtest_from_stream_with_whence_seekUndocumented
Methodtest_from_textUndocumented
Methodtest_text_content_raises_TypeError_when_passed_bytesUndocumented
Methodtest_text_content_raises_TypeError_when_passed_non_textUndocumented
Methodtest_json_contentUndocumented
+ +

+ 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 + test___init___None_errors(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___sets_ivars(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___eq__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___repr__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_iter_text_not_text_errors(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_iter_text_decodes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_iter_text_default_charset_iso_8859_1(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_as_text(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_file(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_nonexistent_file(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_file_default_type(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_file_eager_loading(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_file_with_simple_seek(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_file_with_whence_seek(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_stream(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_stream_default_type(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_stream_eager_loading(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_stream_with_simple_seek(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_stream_with_whence_seek(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_from_text(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipUnless(str_is_unicode, 'Test only applies in python 3.')
+ def + test_text_content_raises_TypeError_when_passed_bytes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_text_content_raises_TypeError_when_passed_non_text(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_json_content(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestStackLinesContent.html b/apidocs/testtools.tests.test_content.TestStackLinesContent.html new file mode 100644 index 0000000..7de2af3 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestStackLinesContent.html @@ -0,0 +1,423 @@ + + + + + testtools.tests.test_content.TestStackLinesContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_single_stack_lineUndocumented
Methodtest_prefix_contentUndocumented
Methodtest_postfix_contentUndocumented
Methodtest___init___sets_content_typeUndocumented
Method_get_stack_line_and_expected_outputUndocumented
+ +

+ 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 + _get_stack_line_and_expected_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_single_stack_line(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_prefix_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_postfix_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___sets_content_type(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestStacktraceContent.html b/apidocs/testtools.tests.test_content.TestStacktraceContent.html new file mode 100644 index 0000000..b761e0f --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestStacktraceContent.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_content.TestStacktraceContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest___init___sets_ivarsUndocumented
Methodtest_prefix_is_usedUndocumented
Methodtest_postfix_is_usedUndocumented
Methodtest_top_frame_is_skipped_when_no_stack_is_specifiedUndocumented
+ +

+ 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 + test___init___sets_ivars(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_prefix_is_used(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_postfix_is_used(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_top_frame_is_skipped_when_no_stack_is_specified(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.TestTracebackContent.html b/apidocs/testtools.tests.test_content.TestTracebackContent.html new file mode 100644 index 0000000..fd8d3b3 --- /dev/null +++ b/apidocs/testtools.tests.test_content.TestTracebackContent.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_content.TestTracebackContent : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest___init___None_errorsUndocumented
Methodtest___init___sets_ivarsUndocumented
+ +

+ 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 + test___init___None_errors(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___sets_ivars(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content.html b/apidocs/testtools.tests.test_content.html new file mode 100644 index 0000000..6c5029f --- /dev/null +++ b/apidocs/testtools.tests.test_content.html @@ -0,0 +1,112 @@ + + + + + testtools.tests.test_content : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestContentUndocumented
ClassTestStackLinesContentUndocumented
ClassTestTracebackContentUndocumented
ClassTestStacktraceContentUndocumented
ClassTestAttachFileUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html b/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html new file mode 100644 index 0000000..5a96f5e --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.TestBuiltinContentTypes.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_content_type.TestBuiltinContentTypes : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_plain_textUndocumented
Methodtest_json_contentUndocumented
+ +

+ 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 + test_plain_text(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_json_content(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.TestContentType.html b/apidocs/testtools.tests.test_content_type.TestContentType.html new file mode 100644 index 0000000..b4cc9b9 --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.TestContentType.html @@ -0,0 +1,445 @@ + + + + + testtools.tests.test_content_type.TestContentType : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest___init___None_errorsUndocumented
Methodtest___init___sets_ivarsUndocumented
Methodtest___init___with_parametersUndocumented
Methodtest___eq__Undocumented
Methodtest_basic_reprUndocumented
Methodtest_extended_reprUndocumented
+ +

+ 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 + test___init___None_errors(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___sets_ivars(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___init___with_parameters(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___eq__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_basic_repr(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_extended_repr(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_content_type.html b/apidocs/testtools.tests.test_content_type.html new file mode 100644 index 0000000..2b65b05 --- /dev/null +++ b/apidocs/testtools.tests.test_content_type.html @@ -0,0 +1,97 @@ + + + + + testtools.tests.test_content_type : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
ClassTestContentTypeUndocumented
ClassTestBuiltinContentTypesUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.AsText.html b/apidocs/testtools.tests.test_deferredruntest.AsText.html new file mode 100644 index 0000000..5666f18 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.AsText.html @@ -0,0 +1,113 @@ + + + + + testtools.tests.test_deferredruntest.AsText : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Match the text of a Content instance.
+
+ +
+ + + + + + + + +
Method__init__Create an AfterPreprocessing matcher.
+ +

+ Inherited from AfterPreprocessing: +

+ + + + + + + + + + + + + + + + + + +
Method__str__Undocumented
MethodmatchUndocumented
Method_str_preprocessorUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, matcher, annotate=True): + +
+
+ +
Create an AfterPreprocessing matcher.
ParameterspreprocessorA function called with the matchee before +matching.
matcherWhat to match the preprocessed matchee against.
annotateWhether or not to annotate the matcher with +something explaining how we transformed the matchee. Defaults +to True.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html b/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html new file mode 100644 index 0000000..9fbc2d9 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.MatchesEvents.html @@ -0,0 +1,134 @@ + + + + + testtools.tests.test_deferredruntest.MatchesEvents : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Match a list of test result events.

+

Specify events as a data structure. Ordinary Python objects within this +structure will be compared exactly, but you can also use matchers at any +point.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodmatchUndocumented
Method_make_matcherUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, *expected): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _make_matcher(self, obj): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + match(self, observed): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html b/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html new file mode 100644 index 0000000..9813438 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestAssertFailsWith.html @@ -0,0 +1,661 @@ + + + + + testtools.tests.test_deferredruntest.TestAssertFailsWith : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for assert_fails_with.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_assert_fails_with_successUndocumented
Methodtest_assert_fails_with_success_multiple_typesUndocumented
Methodtest_assert_fails_with_wrong_exceptionUndocumented
Methodtest_assert_fails_with_expected_exceptionUndocumented
Methodtest_custom_failure_exceptionUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_assert_fails_with_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assert_fails_with_success_multiple_types(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assert_fails_with_wrong_exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assert_fails_with_expected_exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_custom_failure_exception(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html b/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html new file mode 100644 index 0000000..fd26b26 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest.html @@ -0,0 +1,1123 @@ + + + + + testtools.tests.test_deferredruntest.TestAsynchronousDeferredRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_reactorUndocumented
Methodmake_resultUndocumented
Methodmake_runnerUndocumented
Methodmake_timeoutUndocumented
Methodtest_setUp_returns_deferred_that_fires_laterUndocumented
Methodtest_calls_setUp_test_tearDown_in_sequenceUndocumented
Methodtest_async_cleanupsUndocumented
Methodtest_clean_reactorUndocumented
Methodtest_exports_reactorUndocumented
Methodtest_unhandled_error_from_deferredUndocumented
Methodtest_unhandled_error_from_deferred_combined_with_errorUndocumented
Methodtest_keyboard_interrupt_stops_test_runUndocumented
Methodtest_fast_keyboard_interrupt_stops_test_runUndocumented
Methodtest_timeout_causes_test_errorUndocumented
Methodtest_convenient_constructionUndocumented
Methodtest_use_convenient_factoryUndocumented
Methodtest_convenient_construction_default_reactorUndocumented
Methodtest_convenient_construction_default_timeoutUndocumented
Methodtest_convenient_construction_default_debuggingUndocumented
Methodtest_deferred_errorUndocumented
Methodtest_only_addError_onceUndocumented
Methodtest_log_err_is_errorUndocumented
Methodtest_log_err_flushed_is_successUndocumented
Methodtest_log_in_detailsUndocumented
Methodtest_debugging_unchanged_during_test_by_defaultUndocumented
Methodtest_debugging_enabled_during_test_with_debug_flagUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + make_reactor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_runner(self, test, timeout=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_timeout(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_setUp_returns_deferred_that_fires_later(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_calls_setUp_test_tearDown_in_sequence(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_async_cleanups(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_reactor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_exports_reactor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_unhandled_error_from_deferred(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_unhandled_error_from_deferred_combined_with_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_keyboard_interrupt_stops_test_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_fast_keyboard_interrupt_stops_test_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_timeout_causes_test_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_convenient_construction(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_use_convenient_factory(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_convenient_construction_default_reactor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_convenient_construction_default_timeout(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_convenient_construction_default_debugging(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_deferred_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_only_addError_once(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_log_err_is_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_log_err_flushed_is_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_log_in_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_debugging_unchanged_during_test_by_default(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_debugging_enabled_during_test_with_debug_flag(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html b/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html new file mode 100644 index 0000000..aae6ad1 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestRunWithLogObservers.html @@ -0,0 +1,573 @@ + + + + + testtools.tests.test_deferredruntest.TestRunWithLogObservers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_restores_observersUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_restores_observers(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html b/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html new file mode 100644 index 0000000..9adf3fd --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest.html @@ -0,0 +1,661 @@ + + + + + testtools.tests.test_deferredruntest.TestSynchronousDeferredRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_resultUndocumented
Methodmake_runnerUndocumented
Methodtest_successUndocumented
Methodtest_failureUndocumented
Methodtest_setUp_followed_by_testUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + make_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_runner(self, test): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_setUp_followed_by_test(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.Base.html b/apidocs/testtools.tests.test_deferredruntest.X.Base.html new file mode 100644 index 0000000..9a88410 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.Base.html @@ -0,0 +1,369 @@ + + + + + testtools.tests.test_deferredruntest.X.Base : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_somethingUndocumented
MethodtearDownUndocumented
+ +

+ 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.
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.
+ + + +
+ + +
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html b/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html new file mode 100644 index 0000000..27b89e1 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.BaseExceptionRaised.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.BaseExceptionRaised : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_somethingUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_something(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html new file mode 100644 index 0000000..67b8738 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInCleanup.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.ErrorInCleanup : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_somethingUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_something(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html new file mode 100644 index 0000000..2ff1824 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInSetup.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.ErrorInSetup : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodsetUpUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + setUp(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html new file mode 100644 index 0000000..ba90092 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTearDown.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.ErrorInTearDown : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodtearDownUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + tearDown(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html new file mode 100644 index 0000000..9af0e0a --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.ErrorInTest.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.ErrorInTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_somethingUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_something(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html b/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html new file mode 100644 index 0000000..5488ede --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.FailureInTest.html @@ -0,0 +1,563 @@ + + + + + testtools.tests.test_deferredruntest.X.FailureInTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_somethingUndocumented
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via Base): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_something(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html b/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html new file mode 100644 index 0000000..8824daa --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.TestIntegration.html @@ -0,0 +1,595 @@ + + + + + testtools.tests.test_deferredruntest.X.TestIntegration : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
MethodassertResultsMatchUndocumented
Methodtest_runnerUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + assertResultsMatch(self, test, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_runner(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.X.html b/apidocs/testtools.tests.test_deferredruntest.X.html new file mode 100644 index 0000000..d2a9f93 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.X.html @@ -0,0 +1,105 @@ + + + + + testtools.tests.test_deferredruntest.X : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests that we run as part of our tests, nested to avoid discovery.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassBaseUndocumented
ClassBaseExceptionRaisedUndocumented
ClassErrorInSetupUndocumented
ClassErrorInTestUndocumented
ClassFailureInTestUndocumented
ClassErrorInTearDownUndocumented
ClassErrorInCleanupUndocumented
ClassTestIntegrationUndocumented
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_deferredruntest.html b/apidocs/testtools.tests.test_deferredruntest.html new file mode 100644 index 0000000..128f317 --- /dev/null +++ b/apidocs/testtools.tests.test_deferredruntest.html @@ -0,0 +1,166 @@ + + + + + testtools.tests.test_deferredruntest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for the DeferredRunTest single test execution logic.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassMatchesEventsMatch a list of test result events.
ClassAsTextMatch the text of a Content instance.
ClassXTests that we run as part of our tests, nested to avoid discovery.
Functionmake_integration_testsUndocumented
ClassTestSynchronousDeferredRunTestUndocumented
ClassTestAsynchronousDeferredRunTestUndocumented
ClassTestAssertFailsWithTests for assert_fails_with.
ClassTestRunWithLogObserversUndocumented
Functiontest_suiteUndocumented
Functionload_testsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + make_integration_tests(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + load_tests(loader, tests, pattern): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html b/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html new file mode 100644 index 0000000..e184b8a --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.SampleTestFixture.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.test_distutilscmd.SampleTestFixture : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Creates testtools.runexample temporarily.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodsetUpUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html b/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html new file mode 100644 index 0000000..a2ed2e1 --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.TestCommandTest.html @@ -0,0 +1,374 @@ + + + + + testtools.tests.test_distutilscmd.TestCommandTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_test_moduleUndocumented
Methodtest_test_suiteUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_test_module(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_test_suite(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_distutilscmd.html b/apidocs/testtools.tests.test_distutilscmd.html new file mode 100644 index 0000000..b8e720a --- /dev/null +++ b/apidocs/testtools.tests.test_distutilscmd.html @@ -0,0 +1,97 @@ + + + + + testtools.tests.test_distutilscmd : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for the distutils test command logic.
+
+ +
+ + + + + + + + + + + + + + + + + + +
ClassSampleTestFixtureCreates testtools.runexample temporarily.
ClassTestCommandTestUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html b/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html new file mode 100644 index 0000000..4f9d74e --- /dev/null +++ b/apidocs/testtools.tests.test_fixturesupport.TestFixtureSupport.html @@ -0,0 +1,462 @@ + + + + + testtools.tests.test_fixturesupport.TestFixtureSupport : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_useFixtureUndocumented
Methodtest_useFixture_cleanups_raise_caughtUndocumented
Methodtest_useFixture_details_capturedUndocumented
Methodtest_useFixture_multiple_details_capturedUndocumented
Methodtest_useFixture_details_captured_from_setUpUndocumented
Methodtest_useFixture_original_exception_raised_if_gather_details_failsUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture_cleanups_raise_caught(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture_details_captured(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture_multiple_details_captured(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture_details_captured_from_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_useFixture_original_exception_raised_if_gather_details_fails(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_fixturesupport.html b/apidocs/testtools.tests.test_fixturesupport.html new file mode 100644 index 0000000..f6f19dd --- /dev/null +++ b/apidocs/testtools.tests.test_fixturesupport.html @@ -0,0 +1,92 @@ + + + + + testtools.tests.test_fixturesupport : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
ClassTestFixtureSupportUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_helpers.TestStackHiding.html b/apidocs/testtools.tests.test_helpers.TestStackHiding.html new file mode 100644 index 0000000..7719407 --- /dev/null +++ b/apidocs/testtools.tests.test_helpers.TestStackHiding.html @@ -0,0 +1,374 @@ + + + + + testtools.tests.test_helpers.TestStackHiding : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_is_stack_hidden_consistent_trueUndocumented
Methodtest_is_stack_hidden_consistent_falseUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_is_stack_hidden_consistent_true(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_is_stack_hidden_consistent_false(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_helpers.html b/apidocs/testtools.tests.test_helpers.html new file mode 100644 index 0000000..f76daf8 --- /dev/null +++ b/apidocs/testtools.tests.test_helpers.html @@ -0,0 +1,92 @@ + + + + + testtools.tests.test_helpers : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
ClassTestStackHidingUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html b/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html new file mode 100644 index 0000000..2d242ff --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.MonkeyPatcherTest.html @@ -0,0 +1,572 @@ + + + + + testtools.tests.test_monkey.MonkeyPatcherTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for 'MonkeyPatcher' monkey-patching class.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_emptyUndocumented
Methodtest_construct_with_patchesUndocumented
Methodtest_patch_existingUndocumented
Methodtest_patch_non_existingUndocumented
Methodtest_restore_non_existingUndocumented
Methodtest_patch_already_patchedUndocumented
Methodtest_restore_twice_is_a_no_opUndocumented
Methodtest_run_with_patches_decorationUndocumented
Methodtest_repeated_run_with_patchesUndocumented
Methodtest_run_with_patches_restoresUndocumented
Methodtest_run_with_patches_restores_on_exceptionUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_empty(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_construct_with_patches(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_existing(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_non_existing(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_restore_non_existing(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_already_patched(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_restore_twice_is_a_no_op(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_with_patches_decoration(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_repeated_run_with_patches(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_with_patches_restores(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_with_patches_restores_on_exception(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.TestObj.html b/apidocs/testtools.tests.test_monkey.TestObj.html new file mode 100644 index 0000000..bbdb233 --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.TestObj.html @@ -0,0 +1,87 @@ + + + + + testtools.tests.test_monkey.TestObj : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method__init__Undocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.TestPatchHelper.html b/apidocs/testtools.tests.test_monkey.TestPatchHelper.html new file mode 100644 index 0000000..f1a73ba --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.TestPatchHelper.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_monkey.TestPatchHelper : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_patch_patchesUndocumented
Methodtest_patch_returns_cleanupUndocumented
+ +

+ 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 + test_patch_patches(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_returns_cleanup(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_monkey.html b/apidocs/testtools.tests.test_monkey.html new file mode 100644 index 0000000..3e7ee77 --- /dev/null +++ b/apidocs/testtools.tests.test_monkey.html @@ -0,0 +1,102 @@ + + + + + testtools.tests.test_monkey : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for testtools.monkey.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassTestObjUndocumented
ClassMonkeyPatcherTestTests for 'MonkeyPatcher' monkey-patching class.
ClassTestPatchHelperUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html b/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html new file mode 100644 index 0000000..67b18e2 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleLoadTestsPackage.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.test_run.SampleLoadTestsPackage : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Creates a test suite package using load_tests.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodsetUpUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleResourcedFixture.html b/apidocs/testtools.tests.test_run.SampleResourcedFixture.html new file mode 100644 index 0000000..9954ef6 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleResourcedFixture.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.test_run.SampleResourcedFixture : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Creates a test suite that uses testresources.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Undocumented
MethodsetUpUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.SampleTestFixture.html b/apidocs/testtools.tests.test_run.SampleTestFixture.html new file mode 100644 index 0000000..019fd78 --- /dev/null +++ b/apidocs/testtools.tests.test_run.SampleTestFixture.html @@ -0,0 +1,109 @@ + + + + + testtools.tests.test_run.SampleTestFixture : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Creates testtools.runexample temporarily.
+
+ +
+ + + + + + + + + + + + + +
Method__init__Create a SampleTestFixture.
MethodsetUpUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, broken=False): + +
+
+ +
Create a SampleTestFixture.
ParametersbrokenIf True, the sample file will not be importable.
+
+
+ + + + + + +
+ + def + setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.TestRun.html b/apidocs/testtools.tests.test_run.TestRun.html new file mode 100644 index 0000000..a0af1a1 --- /dev/null +++ b/apidocs/testtools.tests.test_run.TestRun.html @@ -0,0 +1,572 @@ + + + + + testtools.tests.test_run.TestRun : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_run_custom_listUndocumented
Methodtest_run_list_with_loaderUndocumented
Methodtest_run_listUndocumented
Methodtest_run_list_failed_importUndocumented
Methodtest_run_orders_testsUndocumented
Methodtest_run_load_listUndocumented
Methodtest_load_list_preserves_custom_suitesUndocumented
Methodtest_run_failfastUndocumented
Methodtest_run_localsUndocumented
Methodtest_stdout_honouredUndocumented
Methodtest_issue_16662Undocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_custom_list(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_list_with_loader(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_list(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_list_failed_import(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_orders_tests(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_load_list(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_load_list_preserves_custom_suites(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_failfast(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run_locals(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stdout_honoured(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipUnless(fixtures, 'fixtures not present')
+ def + test_issue_16662(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_run.html b/apidocs/testtools.tests.test_run.html new file mode 100644 index 0000000..3fde9f9 --- /dev/null +++ b/apidocs/testtools.tests.test_run.html @@ -0,0 +1,107 @@ + + + + + testtools.tests.test_run : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for the test runner logic.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassSampleTestFixtureCreates testtools.runexample temporarily.
ClassSampleResourcedFixtureCreates a test suite that uses testresources.
ClassSampleLoadTestsPackageCreates a test suite package using load_tests.
ClassTestRunUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.CustomRunTest.html b/apidocs/testtools.tests.test_runtest.CustomRunTest.html new file mode 100644 index 0000000..3f0bebf --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.CustomRunTest.html @@ -0,0 +1,165 @@ + + + + + testtools.tests.test_runtest.CustomRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodrunRun self.case reporting activity to result.
+ +

+ Inherited from RunTest: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_run_userRun a user supplied function.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Run self.case reporting activity to result.
ParametersresultOptional testtools.TestResult to report activity to.
ReturnsThe result object the test was run against.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.TestRunTest.html b/apidocs/testtools.tests.test_runtest.TestRunTest.html new file mode 100644 index 0000000..c742bda --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.TestRunTest.html @@ -0,0 +1,687 @@ + + + + + testtools.tests.test_runtest.TestRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_caseUndocumented
Methodtest___init___shortUndocumented
Methodtest__init____handlersUndocumented
Methodtest__init____handlers_last_resortUndocumented
Methodtest_run_with_resultUndocumented
Methodtest_run_no_result_manages_new_resultUndocumented
Methodtest__run_core_calledUndocumented
Methodtest__run_prepared_result_does_not_mask_keyboardUndocumented
Methodtest__run_user_calls_onExceptionUndocumented
Methodtest__run_user_can_catch_ExceptionUndocumented
Methodtest__run_prepared_result_uncaught_Exception_raisedUndocumented
Methodtest__run_prepared_result_uncaught_Exception_triggers_errorUndocumented
Methodtest__run_user_uncaught_Exception_from_exception_handler_raisedUndocumented
Methodtest__run_user_returns_resultUndocumented
Methodtest__run_one_decorates_resultUndocumented
Methodtest__run_prepared_result_calls_start_and_stop_testUndocumented
Methodtest__run_prepared_result_calls_stop_test_alwaysUndocumented
+ +

+ 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 + 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. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html b/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html new file mode 100644 index 0000000..cafe814 --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.TestTestCaseSupportForRunTest.html @@ -0,0 +1,467 @@ + + + + + testtools.tests.test_runtest.TestTestCaseSupportForRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_pass_custom_run_testUndocumented
Methodtest_default_is_runTest_class_variableUndocumented
Methodtest_constructor_argument_overrides_class_variableUndocumented
Methodtest_decorator_for_run_testUndocumented
Methodtest_extended_decorator_for_run_testUndocumented
Methodtest_works_as_inner_decoratorUndocumented
Methodtest_constructor_overrides_decoratorUndocumented
+ +

+ 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 + test_pass_custom_run_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_default_is_runTest_class_variable(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_constructor_argument_overrides_class_variable(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_decorator_for_run_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_extended_decorator_for_run_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_works_as_inner_decorator(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_constructor_overrides_decorator(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_runtest.html b/apidocs/testtools.tests.test_runtest.html new file mode 100644 index 0000000..e6773d8 --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.html @@ -0,0 +1,102 @@ + + + + + testtools.tests.test_runtest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for the RunTest single test execution logic.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
ClassTestRunTestUndocumented
ClassCustomRunTestUndocumented
ClassTestTestCaseSupportForRunTestUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html b/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html new file mode 100644 index 0000000..63de62a --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.NeedsTwistedTestCase.html @@ -0,0 +1,330 @@ + + + + + testtools.tests.test_spinner.NeedsTwistedTestCase : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodsetUpUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestExtractResult.html b/apidocs/testtools.tests.test_spinner.TestExtractResult.html new file mode 100644 index 0000000..b0b726f --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestExtractResult.html @@ -0,0 +1,617 @@ + + + + + testtools.tests.test_spinner.TestExtractResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_not_firedUndocumented
Methodtest_successUndocumented
Methodtest_failureUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_not_fired(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failure(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestNotReentrant.html b/apidocs/testtools.tests.test_spinner.TestNotReentrant.html new file mode 100644 index 0000000..9d3ad9a --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestNotReentrant.html @@ -0,0 +1,595 @@ + + + + + testtools.tests.test_spinner.TestNotReentrant : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_not_reentrantUndocumented
Methodtest_deeper_stackUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_not_reentrant(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_deeper_stack(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestRunInReactor.html b/apidocs/testtools.tests.test_spinner.TestRunInReactor.html new file mode 100644 index 0000000..e1f4459 --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestRunInReactor.html @@ -0,0 +1,1079 @@ + + + + + testtools.tests.test_spinner.TestRunInReactor : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_reactorUndocumented
Methodmake_spinnerUndocumented
Methodmake_timeoutUndocumented
Methodtest_function_calledUndocumented
Methodtest_return_value_returnedUndocumented
Methodtest_exception_reraisedUndocumented
Methodtest_keyword_argumentsUndocumented
Methodtest_not_reentrantUndocumented
Methodtest_deferred_value_returnedUndocumented
Methodtest_preserve_signal_handlerUndocumented
Methodtest_timeoutUndocumented
Methodtest_no_junk_by_defaultUndocumented
Methodtest_clean_do_nothingUndocumented
Methodtest_clean_delayed_callUndocumented
Methodtest_clean_delayed_call_cancelledUndocumented
Methodtest_clean_selectablesUndocumented
Methodtest_clean_running_threadsUndocumented
Methodtest_leftover_junk_availableUndocumented
Methodtest_will_not_run_with_previous_junkUndocumented
Methodtest_clear_junk_clears_previous_junkUndocumented
Methodtest_sigint_raises_no_result_errorUndocumented
Methodtest_sigint_raises_no_result_error_second_timeUndocumented
Methodtest_fast_sigint_raises_no_result_errorUndocumented
Methodtest_fast_sigint_raises_no_result_error_second_timeUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + make_reactor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_spinner(self, reactor=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_timeout(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_function_called(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_return_value_returned(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_exception_reraised(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_keyword_arguments(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_not_reentrant(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_deferred_value_returned(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_preserve_signal_handler(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_timeout(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_no_junk_by_default(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_do_nothing(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_delayed_call(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_delayed_call_cancelled(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_selectables(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clean_running_threads(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_leftover_junk_available(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_will_not_run_with_previous_junk(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_clear_junk_clears_previous_junk(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_sigint_raises_no_result_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_sigint_raises_no_result_error_second_time(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_fast_sigint_raises_no_result_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(os.name != 'posix', 'Sending SIGINT with os.kill is posix only')
+ def + test_fast_sigint_raises_no_result_error_second_time(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html b/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html new file mode 100644 index 0000000..55f9c49 --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.TestTrapUnhandledErrors.html @@ -0,0 +1,595 @@ + + + + + testtools.tests.test_spinner.TestTrapUnhandledErrors : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_no_deferredsUndocumented
Methodtest_unhandled_errorUndocumented
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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.
+ +

+ Inherited from TestCase (via NeedsTwistedTestCase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
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 + test_no_deferreds(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_unhandled_error(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_spinner.html b/apidocs/testtools.tests.test_spinner.html new file mode 100644 index 0000000..624282b --- /dev/null +++ b/apidocs/testtools.tests.test_spinner.html @@ -0,0 +1,112 @@ + + + + + testtools.tests.test_spinner : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for the evil Twisted reactor-spinning we do.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassNeedsTwistedTestCaseUndocumented
ClassTestNotReentrantUndocumented
ClassTestExtractResultUndocumented
ClassTestTrapUnhandledErrorsUndocumented
ClassTestRunInReactorUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_tags.TestTags.html b/apidocs/testtools.tests.test_tags.TestTags.html new file mode 100644 index 0000000..93596aa --- /dev/null +++ b/apidocs/testtools.tests.test_tags.TestTags.html @@ -0,0 +1,511 @@ + + + + + testtools.tests.test_tags.TestTags : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_no_tagsUndocumented
Methodtest_add_tagUndocumented
Methodtest_add_tag_twiceUndocumented
Methodtest_change_tags_returns_tagsUndocumented
Methodtest_remove_tagUndocumented
Methodtest_child_contextUndocumented
Methodtest_add_to_childUndocumented
Methodtest_remove_in_childUndocumented
Methodtest_parentUndocumented
+ +

+ 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 + test_no_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_tag(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_tag_twice(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_change_tags_returns_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_remove_tag(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_child_context(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_to_child(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_remove_in_child(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_parent(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_tags.html b/apidocs/testtools.tests.test_tags.html new file mode 100644 index 0000000..277c808 --- /dev/null +++ b/apidocs/testtools.tests.test_tags.html @@ -0,0 +1,92 @@ + + + + + testtools.tests.test_tags : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test tag support.
+
+ +
+ + + + + + + + + + + + + +
ClassTestTagsUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.Attributes.html b/apidocs/testtools.tests.test_testcase.Attributes.html new file mode 100644 index 0000000..4d677f6 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.Attributes.html @@ -0,0 +1,627 @@ + + + + + testtools.tests.test_testcase.Attributes : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodsimpleUndocumented
MethodmanyUndocumented
MethoddecoratedUndocumented
+ +

+ 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.
+ +

+ 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.
+ + + +
+ +
+ +
+ + + + + + +
+ @attr('foo')
+ def + simple(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @attr('foo', 'quux', 'bar')
+ def + many(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @attr('bar')
@attr('quux')
@attr('foo')
+ def + decorated(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html b/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html new file mode 100644 index 0000000..12d1ede --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAddCleanup.LoggingTest.html @@ -0,0 +1,413 @@ + + + + + testtools.tests.test_testcase.TestAddCleanup.LoggingTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A test that logs calls to setUp, runTest and tearDown.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
MethodbrokenSetUpUndocumented
MethodrunTestUndocumented
MethodbrokenTestUndocumented
MethodtearDownUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + brokenSetUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + runTest(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + brokenTest(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tearDown(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAddCleanup.html b/apidocs/testtools.tests.test_testcase.TestAddCleanup.html new file mode 100644 index 0000000..13171c8 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAddCleanup.html @@ -0,0 +1,647 @@ + + + + + testtools.tests.test_testcase.TestAddCleanup : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for TestCase.addCleanup.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassLoggingTestA test that logs calls to setUp, runTest and tearDown.
MethodsetUpUndocumented
MethodassertErrorLogEqualUndocumented
MethodassertTestLogEqualAssert that the call log equals 'messages'.
MethodlogAppenderA cleanup that appends 'message' to the tests log.
Methodtest_fixtureUndocumented
Methodtest_cleanup_run_before_tearDownUndocumented
Methodtest_add_cleanup_called_if_setUp_failsUndocumented
Methodtest_addCleanup_called_in_reverse_orderUndocumented
Methodtest_tearDown_runs_after_cleanup_failureUndocumented
Methodtest_cleanups_continue_running_after_errorUndocumented
Methodtest_error_in_cleanups_are_capturedUndocumented
Methodtest_keyboard_interrupt_not_caughtUndocumented
Methodtest_all_errors_from_MultipleExceptions_reportedUndocumented
Methodtest_multipleCleanupErrorsReportedUndocumented
Methodtest_multipleErrorsCoreAndCleanupReportedUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertErrorLogEqual(self, messages): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertTestLogEqual(self, messages): + +
+
+ +
Assert that the call log equals 'messages'.
+
+
+ + + + + + +
+ + def + logAppender(self, message): + +
+
+ +

A cleanup that appends 'message' to the tests log.

+

Cleanups are callables that are added to a test by addCleanup. To +verify that our cleanups run in the right order, we add strings to a +list that acts as a log. This method returns a cleanup that will add +the given message to that log when run.

+
+
+ + + + + + +
+ + def + test_fixture(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_cleanup_run_before_tearDown(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_cleanup_called_if_setUp_fails(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addCleanup_called_in_reverse_order(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tearDown_runs_after_cleanup_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_cleanups_continue_running_after_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_error_in_cleanups_are_captured(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_keyboard_interrupt_not_caught(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_all_errors_from_MultipleExceptions_reported(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multipleCleanupErrorsReported(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multipleErrorsCoreAndCleanupReported(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAssertions.html b/apidocs/testtools.tests.test_testcase.TestAssertions.html new file mode 100644 index 0000000..eecacad --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAssertions.html @@ -0,0 +1,1354 @@ + + + + + testtools.tests.test_testcase.TestAssertions : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test assertions in TestCase.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodraiseErrorUndocumented
Methodtest_formatTypes_singleUndocumented
Methodtest_formatTypes_multipleUndocumented
Methodtest_assertRaisesUndocumented
Methodtest_assertRaises_exception_w_metaclassUndocumented
Methodtest_assertRaises_fails_when_no_error_raisedUndocumented
Methodtest_assertRaises_fails_when_different_error_raisedUndocumented
Methodtest_assertRaises_returns_the_raised_exceptionUndocumented
Methodtest_assertRaises_with_multiple_exceptionsUndocumented
Methodtest_assertRaises_with_multiple_exceptions_failure_modeUndocumented
Methodtest_assertRaises_function_repr_in_exceptionUndocumented
MethodassertFailsAssert that function raises a failure with the given message.
Methodtest_assertIn_successUndocumented
Methodtest_assertIn_failureUndocumented
Methodtest_assertIn_failure_with_messageUndocumented
Methodtest_assertNotIn_successUndocumented
Methodtest_assertNotIn_failureUndocumented
Methodtest_assertNotIn_failure_with_messageUndocumented
Methodtest_assertIsInstanceUndocumented
Methodtest_assertIsInstance_multiple_classesUndocumented
Methodtest_assertIsInstance_failureUndocumented
Methodtest_assertIsInstance_failure_multiple_classesUndocumented
Methodtest_assertIsInstance_overridden_messageUndocumented
Methodtest_assertIsUndocumented
Methodtest_assertIs_failsUndocumented
Methodtest_assertIs_fails_with_messageUndocumented
Methodtest_assertIsNotUndocumented
Methodtest_assertIsNot_failsUndocumented
Methodtest_assertIsNot_fails_with_messageUndocumented
Methodtest_assertThat_matches_cleanUndocumented
Methodtest_assertThat_mismatch_raises_descriptionUndocumented
Methodtest_assertThat_outputUndocumented
Methodtest_assertThat_message_is_annotatedUndocumented
Methodtest_assertThat_verbose_outputUndocumented
Methodtest_expectThat_matches_cleanUndocumented
Methodtest_expectThat_mismatch_fails_testUndocumented
Methodtest_expectThat_does_not_exit_testUndocumented
Methodtest_expectThat_adds_detailUndocumented
Methodtest__force_failure_fails_testUndocumented
Methodget_error_stringGet the string showing how 'e' would be formatted in test output.
Methodtest_assertThat_verbose_unicodeUndocumented
Methodtest_assertEqual_nice_formattingUndocumented
Methodtest_assertEqual_formatting_no_messageUndocumented
Methodtest_assertEqual_non_ascii_str_with_newlinesUndocumented
Methodtest_assertIsNoneUndocumented
Methodtest_assertIsNotNoneUndocumented
Methodtest_fail_preserves_traceback_detailUndocumented
+ +

+ 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 + raiseError(self, exceptionFactory, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_formatTypes_single(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_formatTypes_multiple(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_exception_w_metaclass(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_fails_when_no_error_raised(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_fails_when_different_error_raised(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_returns_the_raised_exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_with_multiple_exceptions(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_with_multiple_exceptions_failure_mode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertRaises_function_repr_in_exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertFails(self, message, function, *args, **kwargs): + +
+
+ +
Assert that function raises a failure with the given message.
+
+
+ + + + + + +
+ + def + test_assertIn_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIn_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIn_failure_with_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertNotIn_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertNotIn_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertNotIn_failure_with_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsInstance(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsInstance_multiple_classes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsInstance_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsInstance_failure_multiple_classes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsInstance_overridden_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIs(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIs_fails(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIs_fails_with_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsNot(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsNot_fails(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsNot_fails_with_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_matches_clean(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_mismatch_raises_description(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_message_is_annotated(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertThat_verbose_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectThat_matches_clean(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectThat_mismatch_fails_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectThat_does_not_exit_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectThat_adds_detail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__force_failure_fails_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + get_error_string(self, e): + +
+
+ +

Get the string showing how 'e' would be formatted in test output.

+

This is a little bit hacky, since it's designed to give consistent +output regardless of Python version.

+

In testtools, TestResult._exc_info_to_unicode is the point of dispatch +between various different implementations of methods that format +exceptions, so that's what we have to call. However, that method cares +about stack traces and formats the exception class. We don't care +about either of these, so we take its output and parse it a little.

+
+
+ + + + + + +
+ + def + test_assertThat_verbose_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertEqual_nice_formatting(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertEqual_formatting_no_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertEqual_non_ascii_str_with_newlines(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsNone(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_assertIsNotNone(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fail_preserves_traceback_detail(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestAttributes.html b/apidocs/testtools.tests.test_testcase.TestAttributes.html new file mode 100644 index 0000000..2634024 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestAttributes.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.test_testcase.TestAttributes : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_simple_attrUndocumented
Methodtest_multiple_attributesUndocumented
Methodtest_multiple_attr_decoratorsUndocumented
+ +

+ 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 + test_simple_attr(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multiple_attributes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multiple_attr_decorators(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html b/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html new file mode 100644 index 0000000..3b3b335 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestCloneTestWithNewId.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testcase.TestCloneTestWithNewId : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for clone_test_with_new_id.
+
+ +
+ + + + + + + + + + + + + +
Methodtest_clone_test_with_new_idUndocumented
Methodtest_cloned_testcase_does_not_share_detailsA cloned TestCase does not share the details dict.
+ +

+ 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 + test_clone_test_with_new_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_cloned_testcase_does_not_share_details(self): + +
+
+ +
A cloned TestCase does not share the details dict.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html b/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html new file mode 100644 index 0000000..f4a26b9 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestDecorateTestCaseResult.html @@ -0,0 +1,440 @@ + + + + + testtools.tests.test_testcase.TestDecorateTestCaseResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodmake_resultUndocumented
Methodtest___call__Undocumented
Methodtest_runUndocumented
Methodtest_before_after_hooksUndocumented
Methodtest_other_attributeUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_result(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test___call__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_before_after_hooks(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_other_attribute(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html b/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html new file mode 100644 index 0000000..ac43132 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestDetailsProvided.html @@ -0,0 +1,781 @@ + + + + + testtools.tests.test_testcase.TestDetailsProvided : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_addDetailUndocumented
Methodtest_addErrorUndocumented
Methodtest_addFailureUndocumented
Methodtest_addSkipUndocumented
Methodtest_addSucccessUndocumented
Methodtest_addUnexpectedSuccessUndocumented
Methodtest_addDetails_from_MismatchUndocumented
Methodtest_multiple_addDetails_from_MismatchUndocumented
Methodtest_addDetails_with_same_name_as_key_from_get_detailsUndocumented
Methodtest_addDetailUniqueName_worksUndocumented
+ +

+ Inherited from TestCase (via TestWithDetails): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestWithDetails): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_addDetail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addError(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addFailure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSkip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSucccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addUnexpectedSuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addDetails_from_Mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multiple_addDetails_from_Mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addDetails_with_same_name_as_key_from_get_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addDetailUniqueName_works(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestEquality.html b/apidocs/testtools.tests.test_testcase.TestEquality.html new file mode 100644 index 0000000..ff67d4e --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestEquality.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testcase.TestEquality : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test TestCase's equality implementation.
+
+ +
+ + + + + + + + + + + + + +
Methodtest_identicalIsEqualUndocumented
Methodtest_nonIdenticalInUnequalUndocumented
+ +

+ 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 + test_identicalIsEqual(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_nonIdenticalInUnequal(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestErrorHolder.html b/apidocs/testtools.tests.test_testcase.TestErrorHolder.html new file mode 100644 index 0000000..209a01a --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestErrorHolder.html @@ -0,0 +1,555 @@ + + + + + testtools.tests.test_testcase.TestErrorHolder : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodmakeExceptionUndocumented
MethodmakePlaceHolderUndocumented
Methodtest_id_comes_from_constructorUndocumented
Methodtest_shortDescription_is_idUndocumented
Methodtest_shortDescription_specifiedUndocumented
Methodtest_counts_as_one_testUndocumented
Methodtest_str_is_idUndocumented
Methodtest_runs_as_errorUndocumented
Methodtest_call_is_runUndocumented
Methodtest_runs_without_resultUndocumented
Methodtest_debugUndocumented
+ +

+ 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 + makeException(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + makePlaceHolder(self, test_id='foo', error=None, short_description=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_id_comes_from_constructor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shortDescription_is_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shortDescription_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_counts_as_one_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_is_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_runs_as_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_call_is_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_runs_without_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_debug(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html b/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html new file mode 100644 index 0000000..f388c69 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestExpectedFailure.html @@ -0,0 +1,759 @@ + + + + + testtools.tests.test_testcase.TestExpectedFailure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for expected failures and unexpected successess.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_unexpected_caseUndocumented
Methodtest_raising__UnexpectedSuccess_py27Undocumented
Methodtest_raising__UnexpectedSuccess_extendedUndocumented
Methodmake_xfail_case_xfailsUndocumented
Methodmake_xfail_case_succeedsUndocumented
Methodtest_expectFailure_KnownFailure_extendedUndocumented
Methodtest_expectFailure_KnownFailure_unexpected_successUndocumented
Methodtest_unittest_expectedFailure_decorator_works_with_failureUndocumented
Methodtest_unittest_expectedFailure_decorator_works_with_successUndocumented
+ +

+ Inherited from TestCase (via TestWithDetails): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestWithDetails): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + make_unexpected_case(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raising__UnexpectedSuccess_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raising__UnexpectedSuccess_extended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_xfail_case_xfails(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_xfail_case_succeeds(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectFailure_KnownFailure_extended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_expectFailure_KnownFailure_unexpected_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(hasattr(unittest, 'expectedFailure'), 'Need py27+')
+ def + test_unittest_expectedFailure_decorator_works_with_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @skipIf(hasattr(unittest, 'expectedFailure'), 'Need py27+')
+ def + test_unittest_expectedFailure_decorator_works_with_success(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestNullary.html b/apidocs/testtools.tests.test_testcase.TestNullary.html new file mode 100644 index 0000000..5a30150 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestNullary.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testcase.TestNullary : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_reprUndocumented
Methodtest_called_with_argumentsUndocumented
Methodtest_returns_wrappedUndocumented
Methodtest_raisesUndocumented
+ +

+ 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 + test_repr(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_called_with_arguments(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_returns_wrapped(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raises(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestOnException.html b/apidocs/testtools.tests.test_testcase.TestOnException.html new file mode 100644 index 0000000..0908746 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestOnException.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.test_testcase.TestOnException : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_default_worksUndocumented
Methodtest_added_handler_worksUndocumented
Methodtest_handler_that_raises_is_not_caughtUndocumented
+ +

+ 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 + test_default_works(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_added_handler_works(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_handler_that_raises_is_not_caught(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html b/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html new file mode 100644 index 0000000..5fe02fe --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPatchSupport.Case.html @@ -0,0 +1,335 @@ + + + + + testtools.tests.test_testcase.TestPatchSupport.Case : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodtestUndocumented
+ +

+ 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 + test(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPatchSupport.html b/apidocs/testtools.tests.test_testcase.TestPatchSupport.html new file mode 100644 index 0000000..278b3b6 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPatchSupport.html @@ -0,0 +1,450 @@ + + + + + testtools.tests.test_testcase.TestPatchSupport : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassCaseUndocumented
Methodtest_patchUndocumented
Methodtest_patch_restored_after_runUndocumented
Methodtest_successive_patches_applyUndocumented
Methodtest_successive_patches_restored_after_runUndocumented
Methodtest_patch_nonexistent_attributeUndocumented
Methodtest_restore_nonexistent_attributeUndocumented
+ +

+ 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 + test_patch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_restored_after_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_successive_patches_apply(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_successive_patches_restored_after_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_patch_nonexistent_attribute(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_restore_nonexistent_attribute(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html b/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html new file mode 100644 index 0000000..5da6d65 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestPlaceHolder.html @@ -0,0 +1,665 @@ + + + + + testtools.tests.test_testcase.TestPlaceHolder : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodmakePlaceHolderUndocumented
Methodtest_id_comes_from_constructorUndocumented
Methodtest_shortDescription_is_idUndocumented
Methodtest_shortDescription_specifiedUndocumented
Methodtest_repr_just_idUndocumented
Methodtest_repr_with_descriptionUndocumented
Methodtest_repr_custom_outcomeUndocumented
Methodtest_counts_as_one_testUndocumented
Methodtest_str_is_idUndocumented
Methodtest_runs_as_successUndocumented
Methodtest_supplies_detailsUndocumented
Methodtest_supplies_timestampsUndocumented
Methodtest_call_is_runUndocumented
Methodtest_runs_without_resultUndocumented
Methodtest_debugUndocumented
Methodtest_supports_tagsUndocumented
+ +

+ 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 + makePlaceHolder(self, test_id='foo', short_description=None): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_id_comes_from_constructor(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shortDescription_is_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shortDescription_specified(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_repr_just_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_repr_with_description(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_repr_custom_outcome(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_counts_as_one_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_str_is_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_runs_as_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_supplies_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_supplies_timestamps(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_call_is_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_runs_without_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_debug(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_supports_tags(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html b/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html new file mode 100644 index 0000000..3695df3 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestRunTestUsage.html @@ -0,0 +1,335 @@ + + + + + testtools.tests.test_testcase.TestRunTestUsage : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_last_resort_in_placeUndocumented
+ +

+ 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 + test_last_resort_in_place(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html b/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html new file mode 100644 index 0000000..038434d --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestSetupTearDown.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testcase.TestSetupTearDown : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_setUpCalledTwiceUndocumented
Methodtest_setUpNotCalledUndocumented
Methodtest_tearDownCalledTwiceUndocumented
Methodtest_tearDownNotCalledUndocumented
+ +

+ 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 + test_setUpCalledTwice(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_setUpNotCalled(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tearDownCalledTwice(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tearDownNotCalled(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestSkipping.html b/apidocs/testtools.tests.test_testcase.TestSkipping.html new file mode 100644 index 0000000..1f326bd --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestSkipping.html @@ -0,0 +1,687 @@ + + + + + testtools.tests.test_testcase.TestSkipping : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for skipping of tests functionality.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_skip_causes_skipExceptionUndocumented
Methodtest_can_use_skipTestUndocumented
Methodtest_skip_without_reason_worksUndocumented
Methodtest_skipException_in_setup_calls_result_addSkipUndocumented
Methodtest_skipException_in_test_method_calls_result_addSkipUndocumented
Methodtest_skip__in_setup_with_old_result_object_calls_addSuccessUndocumented
Methodtest_skip_with_old_result_object_calls_addErrorUndocumented
Methodtest_skip_decoratorUndocumented
Methodtest_skipIf_decoratorUndocumented
Methodtest_skipUnless_decoratorUndocumented
Methodcheck_skip_decorator_does_not_run_setupUndocumented
Methodtest_testtools_skip_decorator_does_not_run_setUpUndocumented
Methodtest_testtools_skipIf_decorator_does_not_run_setUpUndocumented
Methodtest_testtools_skipUnless_decorator_does_not_run_setUpUndocumented
Methodtest_unittest_skip_decorator_does_not_run_setUpUndocumented
Methodtest_unittest_skipIf_decorator_does_not_run_setUpUndocumented
Methodtest_unittest_skipUnless_decorator_does_not_run_setUpUndocumented
+ +

+ 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 + test_skip_causes_skipException(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_can_use_skipTest(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skip_without_reason_works(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skipException_in_setup_calls_result_addSkip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skipException_in_test_method_calls_result_addSkip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skip__in_setup_with_old_result_object_calls_addSuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skip_with_old_result_object_calls_addError(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skip_decorator(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skipIf_decorator(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skipUnless_decorator(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + check_skip_decorator_does_not_run_setup(self, decorator, reason): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_testtools_skip_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_testtools_skipIf_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_testtools_skipUnless_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @require_py27_minimum
+ def + test_unittest_skip_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @require_py27_minimum
+ def + test_unittest_skipIf_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @require_py27_minimum
+ def + test_unittest_skipUnless_decorator_does_not_run_setUp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html b/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html new file mode 100644 index 0000000..5c46aac --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestTestCaseSuper.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testcase.TestTestCaseSuper : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_setup_uses_superUndocumented
Methodtest_teardown_uses_superUndocumented
+ +

+ 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 + test_setup_uses_super(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_teardown_uses_super(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html b/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html new file mode 100644 index 0000000..a48623f --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestUniqueFactories.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.test_testcase.TestUniqueFactories : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for getUniqueString and getUniqueInteger.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_getUniqueIntegerUndocumented
Methodtest_getUniqueStringUndocumented
Methodtest_getUniqueString_prefixUndocumented
+ +

+ 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 + test_getUniqueInteger(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_getUniqueString(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_getUniqueString_prefix(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.TestWithDetails.html b/apidocs/testtools.tests.test_testcase.TestWithDetails.html new file mode 100644 index 0000000..64c7c84 --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.TestWithDetails.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testcase.TestWithDetails : API documentation + + + + + + + + + +
+ + + + + +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + +
MethodassertDetailsProvidedAssert that when case is run, details are provided to the result.
Methodget_contentUndocumented
+ +

+ 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 + assertDetailsProvided(self, case, expected_outcome, expected_keys): + +
+
+ +
Assert that when case is run, details are provided to the result.
ParameterscaseA TestCase to run.
expected_outcomeThe call that should be made.
expected_keysThe keys to look for.
+
+
+ + + + + + +
+ + def + get_content(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testcase.html b/apidocs/testtools.tests.test_testcase.html new file mode 100644 index 0000000..b4efbad --- /dev/null +++ b/apidocs/testtools.tests.test_testcase.html @@ -0,0 +1,187 @@ + + + + + testtools.tests.test_testcase : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for extensions to the base test library.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestPlaceHolderUndocumented
ClassTestErrorHolderUndocumented
ClassTestEqualityTest TestCase's equality implementation.
ClassTestAssertionsTest assertions in TestCase.
ClassTestAddCleanupTests for TestCase.addCleanup.
ClassTestRunTestUsageUndocumented
ClassTestWithDetailsNo class docstring; 1/2 methods documented
ClassTestExpectedFailureTests for expected failures and unexpected successess.
ClassTestUniqueFactoriesTests for getUniqueString and getUniqueInteger.
ClassTestCloneTestWithNewIdTests for clone_test_with_new_id.
ClassTestDetailsProvidedUndocumented
ClassTestSetupTearDownUndocumented
ClassTestSkippingTests for skipping of tests functionality.
ClassTestOnExceptionUndocumented
ClassTestPatchSupportUndocumented
ClassTestTestCaseSuperUndocumented
ClassTestNullaryUndocumented
ClassAttributesUndocumented
ClassTestAttributesUndocumented
ClassTestDecorateTestCaseResultUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.DetailsContract.html b/apidocs/testtools.tests.test_testresult.DetailsContract.html new file mode 100644 index 0000000..64dc85e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.DetailsContract.html @@ -0,0 +1,296 @@ + + + + + testtools.tests.test_testresult.DetailsContract : API documentation + + + + + + + + + +
+ + + + + +
+
Tests for the details API of TestResults.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_addExpectedFailure_detailsUndocumented
Methodtest_addError_detailsUndocumented
Methodtest_addFailure_detailsUndocumented
Methodtest_addSkipped_detailsUndocumented
Methodtest_addUnexpectedSuccess_detailsUndocumented
Methodtest_addSuccess_detailsUndocumented
+ +

+ Inherited from Python26Contract (via TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_addExpectedFailure_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addError_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addFailure_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSkipped_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addUnexpectedSuccess_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSuccess_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.FallbackContract.html b/apidocs/testtools.tests.test_testresult.FallbackContract.html new file mode 100644 index 0000000..2ce0dea --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.FallbackContract.html @@ -0,0 +1,220 @@ + + + + + testtools.tests.test_testresult.FallbackContract : API documentation + + + + + + + + + +
+ + + + + +
+

When we fallback we take our policy choice to map calls.

+

For instance, we map unexpectedSuccess to an error code, not to success.

+
+ +
+ + + + + + + + +
Methodtest_addUnexpectedSuccess_was_successfulUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_addUnexpectedSuccess_was_successful(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.Python26Contract.html b/apidocs/testtools.tests.test_testresult.Python26Contract.html new file mode 100644 index 0000000..a5b29b4 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.Python26Contract.html @@ -0,0 +1,175 @@ + + + + + testtools.tests.test_testresult.Python26Contract : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_fresh_result_is_successful(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addError_is_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addFailure_is_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSuccess_is_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stop_sets_shouldStop(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.Python27Contract.html b/apidocs/testtools.tests.test_testresult.Python27Contract.html new file mode 100644 index 0000000..14417cd --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.Python27Contract.html @@ -0,0 +1,274 @@ + + + + + testtools.tests.test_testresult.Python27Contract : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_addExpectedFailureUndocumented
Methodtest_addExpectedFailure_is_successUndocumented
Methodtest_addSkippedUndocumented
Methodtest_addSkip_is_successUndocumented
Methodtest_addUnexpectedSuccessUndocumented
Methodtest_addUnexpectedSuccess_was_successfulUndocumented
Methodtest_startStopTestRunUndocumented
Methodtest_failfastUndocumented
+ +

+ Inherited from Python26Contract: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_addExpectedFailure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addExpectedFailure_is_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSkipped(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSkip_is_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addUnexpectedSuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addUnexpectedSuccess_was_successful(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startStopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failfast(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.StartTestRunContract.html b/apidocs/testtools.tests.test_testresult.StartTestRunContract.html new file mode 100644 index 0000000..90aa772 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.StartTestRunContract.html @@ -0,0 +1,298 @@ + + + + + testtools.tests.test_testresult.StartTestRunContract : API documentation + + + + + + + + + +
+ + + + + +
+

Defines the contract for testtools policy choices.

+

That is things which are not simply extensions to unittest but choices we +have made differently.

+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_startTestRun_resets_unexpected_successUndocumented
Methodtest_startTestRun_resets_failureUndocumented
Methodtest_startTestRun_resets_errorsUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_startTestRun_resets_unexpected_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_resets_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_resets_errors(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TagsContract.html b/apidocs/testtools.tests.test_testresult.TagsContract.html new file mode 100644 index 0000000..d425e2e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TagsContract.html @@ -0,0 +1,308 @@ + + + + + testtools.tests.test_testresult.TagsContract : API documentation + + + + + + + + + +
+ + + + + +
+

Tests to ensure correct tagging behaviour.

+

See the subunit docs for guidelines on how this is supposed to work.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_no_tags_by_defaultUndocumented
Methodtest_adding_tagsUndocumented
Methodtest_removing_tagsUndocumented
Methodtest_startTestRun_resets_tagsUndocumented
Methodtest_add_tags_within_testUndocumented
Methodtest_tags_added_in_test_are_revertedUndocumented
Methodtest_tags_removed_in_testUndocumented
Methodtest_tags_removed_in_test_are_restoredUndocumented
+ +

+ Inherited from Python26Contract (via Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_no_tags_by_default(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_adding_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_removing_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_resets_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_tags_within_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_added_in_test_are_reverted(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_removed_in_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_removed_in_test_are_restored(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html new file mode 100644 index 0000000..bfaf009 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedPython26TestResultContract.html @@ -0,0 +1,285 @@ + + + + + testtools.tests.test_testresult.TestAdaptedPython26TestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html new file mode 100644 index 0000000..34e4518 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedPython27TestResultContract.html @@ -0,0 +1,252 @@ + + + + + testtools.tests.test_testresult.TestAdaptedPython27TestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html b/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html new file mode 100644 index 0000000..1be716b --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestAdaptedStreamResult.html @@ -0,0 +1,252 @@ + + + + + testtools.tests.test_testresult.TestAdaptedStreamResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html new file mode 100644 index 0000000..fd6b34c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestBaseStreamResultContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestBaseStreamResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html b/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html new file mode 100644 index 0000000..f0631dc --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestByTestResultTests.html @@ -0,0 +1,704 @@ + + + + + testtools.tests.test_testresult.TestByTestResultTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
MethodassertCalledUndocumented
Methodon_testUndocumented
Methodtest_no_tests_nothing_reportedUndocumented
Methodtest_add_successUndocumented
Methodtest_add_success_detailsUndocumented
Methodtest_global_tagsUndocumented
Methodtest_local_tagsUndocumented
Methodtest_add_errorUndocumented
Methodtest_add_error_detailsUndocumented
Methodtest_add_failureUndocumented
Methodtest_add_failure_detailsUndocumented
Methodtest_add_xfailUndocumented
Methodtest_add_xfail_detailsUndocumented
Methodtest_add_unexpected_successUndocumented
Methodtest_add_skip_reasonUndocumented
Methodtest_add_skip_detailsUndocumented
Methodtest_twiceUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertCalled(self, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + on_test(self, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_no_tests_nothing_reported(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_success_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_global_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_local_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_error_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_failure_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_xfail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_xfail_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_unexpected_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_skip_reason(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_skip_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_twice(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html new file mode 100644 index 0000000..b79803c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestCopyStreamResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html new file mode 100644 index 0000000..488314e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestCopyStreamResultCopies.html @@ -0,0 +1,396 @@ + + + + + testtools.tests.test_testresult.TestCopyStreamResultCopies : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_startTestRunUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_statusUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html b/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html new file mode 100644 index 0000000..b5cab4c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDetailsToStr.html @@ -0,0 +1,489 @@ + + + + + testtools.tests.test_testresult.TestDetailsToStr : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_no_detailsUndocumented
Methodtest_binary_contentUndocumented
Methodtest_single_line_contentUndocumented
Methodtest_multi_line_text_contentUndocumented
Methodtest_special_text_contentUndocumented
Methodtest_multiple_text_contentUndocumented
Methodtest_empty_attachmentUndocumented
Methodtest_lots_of_different_attachmentsUndocumented
+ +

+ 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 + test_no_details(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_binary_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_single_line_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multi_line_text_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_special_text_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_multiple_text_content(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_empty_attachment(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_lots_of_different_attachments(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html new file mode 100644 index 0000000..f59b3bb --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestDoubleStreamResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html new file mode 100644 index 0000000..11977c0 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestDoubleStreamResultEvents.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testresult.TestDoubleStreamResultEvents : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_fileUndocumented
Methodtest_statusUndocumented
+ +

+ 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 + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_file(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html new file mode 100644 index 0000000..5ea8f70 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedTestResultContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestExtendedTestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html new file mode 100644 index 0000000..dc10ea1 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddError.html @@ -0,0 +1,715 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddError : API documentation + + + + + + + + + +
+ + + + + +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_outcome_Original_py26Undocumented
Methodtest_outcome_Original_py27Undocumented
Methodtest_outcome_Original_pyextendedUndocumented
Methodtest_outcome_Extended_py26Undocumented
Methodtest_outcome_Extended_py27Undocumented
Methodtest_outcome_Extended_pyextendedUndocumented
Methodtest_outcome__no_detailsUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_outcome_Original_py26(self): + +
+ +
+ + + + + + +
+ + def + test_outcome_Original_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py26(self): + +
+ +
+ + + + + + +
+ + def + test_outcome_Extended_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome__no_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html new file mode 100644 index 0000000..a065f33 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure.html @@ -0,0 +1,853 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddExpectedFailure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_outcome_Original_py26Undocumented
Methodtest_outcome_Extended_py26Undocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_outcome_Original_py26(self): + +
+ +
+ + + + + + +
+ + def + test_outcome_Extended_py26(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html new file mode 100644 index 0000000..dd60683 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddFailure.html @@ -0,0 +1,806 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddFailure : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalAddError, TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html new file mode 100644 index 0000000..7fbb407 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSkip.html @@ -0,0 +1,737 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddSkip : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_outcome_Original_py26Undocumented
Methodtest_outcome_Original_py27Undocumented
Methodtest_outcome_Original_pyextendedUndocumented
Methodtest_outcome_Extended_py26Undocumented
Methodtest_outcome_Extended_py27_no_reasonUndocumented
Methodtest_outcome_Extended_py27_reasonUndocumented
Methodtest_outcome_Extended_pyextendedUndocumented
Methodtest_outcome__no_detailsUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_outcome_Original_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py27_no_reason(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py27_reason(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome__no_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html new file mode 100644 index 0000000..95acda9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess.html @@ -0,0 +1,693 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddSuccess : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_outcome_Original_py26Undocumented
Methodtest_outcome_Original_py27Undocumented
Methodtest_outcome_Original_pyextendedUndocumented
Methodtest_outcome_Extended_py26Undocumented
Methodtest_outcome_Extended_py27Undocumented
Methodtest_outcome_Extended_pyextendedUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_outcome_Original_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_pyextended(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html new file mode 100644 index 0000000..0ec88c6 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess.html @@ -0,0 +1,693 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalAddUnexpectedSuccess : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_outcome_Original_py26Undocumented
Methodtest_outcome_Original_py27Undocumented
Methodtest_outcome_Original_pyextendedUndocumented
Methodtest_outcome_Extended_py26Undocumented
Methodtest_outcome_Extended_py27Undocumented
Methodtest_outcome_Extended_pyextendedUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_outcome_Original_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Original_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_outcome_Extended_pyextended(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html new file mode 100644 index 0000000..128664d --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator.html @@ -0,0 +1,1089 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalResultDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_failfast_py26Undocumented
Methodtest_failfast_py27Undocumented
Methodtest_progress_py26Undocumented
Methodtest_progress_py27Undocumented
Methodtest_progress_pyextendedUndocumented
Methodtest_shouldStopUndocumented
Methodtest_startTest_py26Undocumented
Methodtest_startTest_py27Undocumented
Methodtest_startTest_pyextendedUndocumented
Methodtest_startTestRun_py26Undocumented
Methodtest_startTestRun_py27Undocumented
Methodtest_startTestRun_pyextendedUndocumented
Methodtest_stopTest_py26Undocumented
Methodtest_stopTest_py27Undocumented
Methodtest_stopTest_pyextendedUndocumented
Methodtest_stopTestRun_py26Undocumented
Methodtest_stopTestRun_py27Undocumented
Methodtest_stopTestRun_pyextendedUndocumented
Methodtest_tags_py26Undocumented
Methodtest_tags_py27Undocumented
Methodtest_tags_pyextendedUndocumented
Methodtest_time_py26Undocumented
Methodtest_time_py27Undocumented
Methodtest_time_pyextendedUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_failfast_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failfast_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_progress_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_progress_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_progress_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTest_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTest_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTest_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTest_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTest_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTest_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_pyextended(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_time_py26(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_time_py27(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_time_pyextended(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html new file mode 100644 index 0000000..c97297e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase.html @@ -0,0 +1,643 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalResultDecoratorBase : API documentation + + + + + + + + + +
+ + + + + +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_26_resultUndocumented
Methodmake_27_resultUndocumented
Methodmake_converterUndocumented
Methodmake_extended_resultUndocumented
Methodcheck_outcome_detailsCall an outcome with a details dict to be passed through.
Methodget_details_and_stringGet a details dict and expected string.
Methodcheck_outcome_details_to_exec_infoCall an outcome with a details dict to be made into exc_info.
Methodcheck_outcome_details_to_nothingCall an outcome with a details dict to be swallowed.
Methodcheck_outcome_details_to_stringCall an outcome with a details dict to be stringified.
Methodcheck_outcome_details_to_argCall an outcome with a details dict to have an arg extracted.
Methodcheck_outcome_exc_infoCheck that calling a legacy outcome still works.
Methodcheck_outcome_exc_info_to_nothingCheck that calling a legacy outcome on a fallback works.
Methodcheck_outcome_nothingCheck that calling a legacy outcome still works.
Methodcheck_outcome_string_nothingCheck that calling outcome with a string calls expected.
Methodcheck_outcome_stringCheck that calling outcome with a string works.
+ +

+ 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 + make_26_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_27_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_converter(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_extended_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + check_outcome_details(self, outcome): + +
+
+ +
Call an outcome with a details dict to be passed through.
+
+
+ + + + + + +
+ + def + get_details_and_string(self): + +
+
+ +
Get a details dict and expected string.
+
+
+ + + + + + +
+ + def + check_outcome_details_to_exec_info(self, outcome, expected=None): + +
+
+ +
Call an outcome with a details dict to be made into exc_info.
+
+
+ + + + + + +
+ + def + check_outcome_details_to_nothing(self, outcome, expected=None): + +
+
+ +
Call an outcome with a details dict to be swallowed.
+
+
+ + + + + + +
+ + def + check_outcome_details_to_string(self, outcome): + +
+
+ +
Call an outcome with a details dict to be stringified.
+
+
+ + + + + + +
+ + def + check_outcome_details_to_arg(self, outcome, arg, extra_detail=None): + +
+
+ +
Call an outcome with a details dict to have an arg extracted.
+
+
+ + + + + + +
+ + def + check_outcome_exc_info(self, outcome, expected=None): + +
+
+ +
Check that calling a legacy outcome still works.
+
+
+ + + + + + +
+ + def + check_outcome_exc_info_to_nothing(self, outcome, expected=None): + +
+
+ +
Check that calling a legacy outcome on a fallback works.
+
+
+ + + + + + +
+ + def + check_outcome_nothing(self, outcome, expected=None): + +
+
+ +
Check that calling a legacy outcome still works.
+
+
+ + + + + + +
+ + def + check_outcome_string_nothing(self, outcome, expected): + +
+
+ +
Check that calling outcome with a string calls expected.
+
+
+ + + + + + +
+ + def + check_outcome_string(self, outcome): + +
+
+ +
Check that calling outcome with a string works.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html new file mode 100644 index 0000000..95227c8 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes.html @@ -0,0 +1,583 @@ + + + + + testtools.tests.test_testresult.TestExtendedToOriginalResultOtherAttributes : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_other_attributeUndocumented
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestExtendedToOriginalResultDecoratorBase): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + test_other_attribute(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html new file mode 100644 index 0000000..8231bc8 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecorator.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.test_testresult.TestExtendedToStreamDecorator : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Methodtest_explicit_timeUndocumented
Methodtest_wasSuccessful_after_stopTestRunUndocumented
Methodtest_empty_detail_status_correctUndocumented
+ +

+ 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 + test_explicit_time(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_wasSuccessful_after_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_empty_detail_status_correct(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html new file mode 100644 index 0000000..9abff13 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestExtendedToStreamDecoratorContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMergeTags.html b/apidocs/testtools.tests.test_testresult.TestMergeTags.html new file mode 100644 index 0000000..3016e70 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMergeTags.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testresult.TestMergeTags : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_merge_unseen_gone_tagUndocumented
Methodtest_merge_incoming_gone_tag_with_current_new_tagUndocumented
Methodtest_merge_unseen_new_tagUndocumented
Methodtest_merge_incoming_new_tag_with_current_gone_tagUndocumented
+ +

+ 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 + test_merge_unseen_gone_tag(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_merge_incoming_gone_tag_with_current_new_tag(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_merge_unseen_new_tag(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_merge_incoming_new_tag_with_current_gone_tag(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html b/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html new file mode 100644 index 0000000..84e0707 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMultiTestResult.html @@ -0,0 +1,748 @@ + + + + + testtools.tests.test_testresult.TestMultiTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for 'MultiTestResult'.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
MethodassertResultLogsEqualAssert that our test results have received the expected events.
Methodtest_reprUndocumented
Methodtest_emptyUndocumented
Methodtest_failfast_getUndocumented
Methodtest_failfast_setUndocumented
Methodtest_shouldStopUndocumented
Methodtest_startTestUndocumented
Methodtest_stopUndocumented
Methodtest_stopTestUndocumented
Methodtest_addSkippedUndocumented
Methodtest_addSuccessUndocumented
Methodtest_doneUndocumented
Methodtest_addFailureUndocumented
Methodtest_addErrorUndocumented
Methodtest_startTestRunUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_stopTestRun_returns_resultsUndocumented
Methodtest_tagsUndocumented
Methodtest_timeUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + assertResultLogsEqual(self, expectedEvents): + +
+
+ +
Assert that our test results have received the expected events.
+
+
+ + + + + + +
+ + def + test_repr(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_empty(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failfast_get(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_failfast_set(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_shouldStop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTest(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stop(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTest(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSkipped(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addSuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_done(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addFailure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_addError(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_returns_results(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_time(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html new file mode 100644 index 0000000..e6cb6d3 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestMultiTestResultContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestMultiTestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html b/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html new file mode 100644 index 0000000..1a224a2 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestNonAsciiResults.html @@ -0,0 +1,823 @@ + + + + + testtools.tests.test_testresult.TestNonAsciiResults : API documentation + + + + + + + + + +
+ + + + + +
+

Test all kinds of tracebacks are cleanly interpreted as unicode

+

Currently only uses weak "contains" assertions, would be good to be much +stricter about the expected output. This would add a few failures for the +current release of IronPython for instance, which gets some traceback +lines muddled.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_non_ascii_failure_stringAssertion contents can be non-ascii and should get decoded
Methodtest_non_ascii_failure_string_via_execAssertion via exec can be non-ascii and still gets decoded
Methodtest_control_characters_in_failure_stringControl characters in assertions should be escaped
Methodtest_os_errorLocale error messages from the OS shouldn't break anything
Methodtest_assertion_text_shift_jisA terminal raw backslash in an encoded string is weird but fine
Methodtest_file_comment_iso2022_jpControl character escapes must be preserved if valid encoding
Methodtest_unicode_exceptionExceptions that can be formated losslessly as unicode should be
Methodtest_unprintable_exceptionA totally useless exception instance still prints something
Methodtest_non_ascii_dirnameScript paths in the traceback can be non-ascii
Methodtest_syntax_errorSyntax errors should still have fancy special-case formatting
Methodtest_syntax_error_malformedSyntax errors with bogus parameters should break anything
Methodtest_syntax_error_line_iso_8859_1Syntax error on a latin-1 line shows the line decoded
Methodtest_syntax_error_line_iso_8859_5Syntax error on a iso-8859-5 line shows the line decoded
Methodtest_syntax_error_line_euc_jpSyntax error on a euc_jp line shows the line decoded
Methodtest_syntax_error_line_utf_8Syntax error on a utf-8 line shows the line decoded
Method_runRun the test, the same as in testtools.run but not to stdout
Method_write_moduleCreate Python module on disk with contents in given encoding
Method_test_external_caseCreate and run a test case in a seperate module
Method_setup_external_caseCreate a test case in a seperate module
Method_run_external_caseRun the prepared test case in a seperate module
Method_get_sample_textUndocumented
Method_as_outputUndocumented
Method_local_os_error_matcherUndocumented
+ +

+ 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 + _run(self, stream, test): + +
+
+ +
Run the test, the same as in testtools.run but not to stdout
+
+
+ + + + + + +
+ + def + _write_module(self, name, encoding, contents): + +
+
+ +
Create Python module on disk with contents in given encoding
+
+
+ + + + + + +
+ + def + _test_external_case(self, testline, coding='ascii', modulelevel='', suffix=''): + +
+
+ +
Create and run a test case in a seperate module
+
+
+ + + + + + +
+ + def + _setup_external_case(self, testline, coding='ascii', modulelevel='', suffix=''): + +
+
+ +
Create a test case in a seperate module
+
+
+ + + + + + +
+ + def + _run_external_case(self): + +
+
+ +
Run the prepared test case in a seperate module
+
+
+ + + + + + +
+ + def + _get_sample_text(self, encoding='unicode_internal'): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _as_output(self, text): + +
+ +
+ + + + + + +
+ + def + test_non_ascii_failure_string(self): + +
+
+ +
Assertion contents can be non-ascii and should get decoded
+
+
+ + + + + + +
+ + def + test_non_ascii_failure_string_via_exec(self): + +
+
+ +
Assertion via exec can be non-ascii and still gets decoded
+
+
+ + + + + + +
+ + def + test_control_characters_in_failure_string(self): + +
+
+ +
Control characters in assertions should be escaped
+
+
+ + + + + + +
+ + def + _local_os_error_matcher(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_os_error(self): + +
+
+ +
Locale error messages from the OS shouldn't break anything
+
+
+ + + + + + +
+ + def + test_assertion_text_shift_jis(self): + +
+
+ +
A terminal raw backslash in an encoded string is weird but fine
+
+
+ + + + + + +
+ + def + test_file_comment_iso2022_jp(self): + +
+
+ +
Control character escapes must be preserved if valid encoding
+
+
+ + + + + + +
+ + def + test_unicode_exception(self): + +
+
+ +
Exceptions that can be formated losslessly as unicode should be
+
+
+ + + + + + +
+ + def + test_unprintable_exception(self): + +
+
+ +
A totally useless exception instance still prints something
+
+
+ + + + + + +
+ + def + test_non_ascii_dirname(self): + +
+
+ +
Script paths in the traceback can be non-ascii
+
+
+ + + + + + +
+ + def + test_syntax_error(self): + +
+
+ +
Syntax errors should still have fancy special-case formatting
+
+
+ + + + + + +
+ + def + test_syntax_error_malformed(self): + +
+
+ +
Syntax errors with bogus parameters should break anything
+
+
+ + + + + + +
+ + def + test_syntax_error_line_iso_8859_1(self): + +
+
+ +
Syntax error on a latin-1 line shows the line decoded
+
+
+ + + + + + +
+ + def + test_syntax_error_line_iso_8859_5(self): + +
+
+ +
Syntax error on a iso-8859-5 line shows the line decoded
+
+
+ + + + + + +
+ + def + test_syntax_error_line_euc_jp(self): + +
+
+ +
Syntax error on a euc_jp line shows the line decoded
+
+
+ + + + + + +
+ + def + test_syntax_error_line_utf_8(self): + +
+
+ +
Syntax error on a utf-8 line shows the line decoded
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html b/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html new file mode 100644 index 0000000..7f403e9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.html @@ -0,0 +1,605 @@ + + + + + testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test that running under unittest produces clean ascii strings
+
+ +
+ + + + + + + + + + + + + +
Method_runRun the test, the same as in testtools.run but not to stdout
Method_as_outputUndocumented
+ +

+ Inherited from TestCase (via TestNonAsciiResults): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ +

+ Inherited from TestCase (via TestNonAsciiResults): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 + _run(self, stream, test): + +
+
+ +
Run the test, the same as in testtools.run but not to stdout
+
+
+ + + + + + +
+ + def + _as_output(self, text): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html new file mode 100644 index 0000000..87bd48e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestPython26TestResultContract.html @@ -0,0 +1,153 @@ + + + + + testtools.tests.test_testresult.TestPython26TestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html b/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html new file mode 100644 index 0000000..4ce3210 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestPython27TestResultContract.html @@ -0,0 +1,186 @@ + + + + + testtools.tests.test_testresult.TestPython27TestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html b/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html new file mode 100644 index 0000000..e995104 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamFailFast.html @@ -0,0 +1,467 @@ + + + + + testtools.tests.test_testresult.TestStreamFailFast : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_inprogressUndocumented
Methodtest_existsUndocumented
Methodtest_xfailUndocumented
Methodtest_uxsuccessUndocumented
Methodtest_successUndocumented
Methodtest_failUndocumented
Methodtest_skipUndocumented
+ +

+ 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 + test_inprogress(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_exists(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_xfail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_uxsuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_skip(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html b/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html new file mode 100644 index 0000000..d6ea884 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamFailFastContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamFailFastContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html b/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html new file mode 100644 index 0000000..042c24d --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultContract.html @@ -0,0 +1,175 @@ + + + + + testtools.tests.test_testresult.TestStreamResultContract : API documentation + + + + + + + + + +
+ + + + + +
+
No class docstring
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_make_resultUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ + +
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html b/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html new file mode 100644 index 0000000..1f43cd1 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultRouter.html @@ -0,0 +1,599 @@ + + + + + testtools.tests.test_testresult.TestStreamResultRouter : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_start_stop_test_run_no_fallbackUndocumented
Methodtest_no_fallback_errorsUndocumented
Methodtest_fallback_callsUndocumented
Methodtest_fallback_no_do_start_stop_runUndocumented
Methodtest_add_rule_bad_policyUndocumented
Methodtest_add_rule_extra_policy_argUndocumented
Methodtest_add_rule_missing_prefixUndocumented
Methodtest_add_rule_slash_in_prefixUndocumented
Methodtest_add_rule_route_code_consume_FalseUndocumented
Methodtest_add_rule_route_code_consume_TrueUndocumented
Methodtest_add_rule_test_idUndocumented
Methodtest_add_rule_do_start_stop_runUndocumented
Methodtest_add_rule_do_start_stop_run_after_startTestRunUndocumented
+ +

+ 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 + test_start_stop_test_run_no_fallback(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_no_fallback_errors(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fallback_calls(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fallback_no_do_start_stop_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_bad_policy(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_extra_policy_arg(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_missing_prefix(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_slash_in_prefix(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_route_code_consume_False(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_route_code_consume_True(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_test_id(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_do_start_stop_run(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_add_rule_do_start_stop_run_after_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html b/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html new file mode 100644 index 0000000..97838fd --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamResultRouterContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamResultRouterContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamSummary.html b/apidocs/testtools.tests.test_testresult.TestStreamSummary.html new file mode 100644 index 0000000..5fd5ad7 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamSummary.html @@ -0,0 +1,533 @@ + + + + + testtools.tests.test_testresult.TestStreamSummary : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_attributesUndocumented
Methodtest_startTestRunUndocumented
Methodtest_wasSuccessfulUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_stopTestRun_inprogress_test_failsUndocumented
Methodtest_status_skipUndocumented
Methodtest_status_failUndocumented
Methodtest_status_xfailUndocumented
Methodtest_status_uxsuccessUndocumented
Method_report_filesUndocumented
+ +

+ 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 + test_attributes(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_wasSuccessful(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_inprogress_test_fails(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_skip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _report_files(self, result): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_fail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_xfail(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_uxsuccess(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html b/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html new file mode 100644 index 0000000..bda4604 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamSummaryResultContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamSummaryResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamTagger.html b/apidocs/testtools.tests.test_testresult.TestStreamTagger.html new file mode 100644 index 0000000..27a6948 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamTagger.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testresult.TestStreamTagger : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_addingUndocumented
Methodtest_discardingUndocumented
+ +

+ 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 + test_adding(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_discarding(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html b/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html new file mode 100644 index 0000000..554dae5 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamTaggerContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamTaggerContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToDict.html b/apidocs/testtools.tests.test_testresult.TestStreamToDict.html new file mode 100644 index 0000000..3ed3581 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToDict.html @@ -0,0 +1,423 @@ + + + + + testtools.tests.test_testresult.TestStreamToDict : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_hung_testUndocumented
Methodtest_all_terminal_states_reportedUndocumented
Methodtest_files_reportedUndocumented
Methodtest_bad_mimeUndocumented
Methodtest_timestampsUndocumented
+ +

+ 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 + test_hung_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_all_terminal_states_reported(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_files_reported(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_bad_mime(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_timestamps(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html new file mode 100644 index 0000000..429766c --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToDictContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamToDictContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html new file mode 100644 index 0000000..7b4c7f9 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedContract.html @@ -0,0 +1,252 @@ + + + + + testtools.tests.test_testresult.TestStreamToExtendedContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html new file mode 100644 index 0000000..c51f414 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamToExtendedDecoratorContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html b/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html new file mode 100644 index 0000000..cbb19db --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToQueue.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testresult.TestStreamToQueue : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_resultUndocumented
Methodtest_statusUndocumented
MethodtestStartTestRunUndocumented
MethodtestStopTestRunUndocumented
+ +

+ 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 + make_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + testStartTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + testStopTestRun(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html b/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html new file mode 100644 index 0000000..965244f --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestStreamToQueueContract.html @@ -0,0 +1,143 @@ + + + + + testtools.tests.test_testresult.TestStreamToQueueContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_make_resultUndocumented
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ +

+ Inherited from TestStreamResultContract: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_filesUndocumented
Methodtest_test_statusUndocumented
Method_power_setpowerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _make_result(self): + +
+ +
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTagger.html b/apidocs/testtools.tests.test_testresult.TestTagger.html new file mode 100644 index 0000000..599ac96 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTagger.html @@ -0,0 +1,335 @@ + + + + + testtools.tests.test_testresult.TestTagger : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Methodtest_tags_testsUndocumented
+ +

+ 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 + test_tags_tests(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestControl.html b/apidocs/testtools.tests.test_testresult.TestTestControl.html new file mode 100644 index 0000000..a2188e4 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestControl.html @@ -0,0 +1,357 @@ + + + + + testtools.tests.test_testresult.TestTestControl : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + +
Methodtest_defaultUndocumented
Methodtest_stopUndocumented
+ +

+ 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 + test_default(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stop(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResult.html b/apidocs/testtools.tests.test_testresult.TestTestResult.html new file mode 100644 index 0000000..4f1aaac --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResult.html @@ -0,0 +1,511 @@ + + + + + testtools.tests.test_testresult.TestTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for 'TestResult'.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodmakeResultMake an arbitrary result for testing.
Methodtest_addSkippedUndocumented
Methodtest_now_datetime_nowUndocumented
Methodtest_now_datetime_timeUndocumented
Methodtest_traceback_formatting_without_stack_hiddenUndocumented
Methodtest_traceback_formatting_with_stack_hiddenUndocumented
Methodtest_traceback_formatting_with_stack_hidden_mismatchUndocumented
Methodtest_exc_info_to_unicodeUndocumented
Methodtest_traceback_with_localsUndocumented
+ +

+ 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 + makeResult(self): + +
+
+ +
Make an arbitrary result for testing.
+
+
+ + + + + + +
+ + def + test_addSkipped(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_now_datetime_now(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_now_datetime_time(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_traceback_formatting_without_stack_hidden(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_traceback_formatting_with_stack_hidden(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_traceback_formatting_with_stack_hidden_mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_exc_info_to_unicode(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_traceback_with_locals(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestTestResultContract.html new file mode 100644 index 0000000..16b3bb7 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResultContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestTestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html b/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html new file mode 100644 index 0000000..c9c088e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTestResultDecoratorContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestTestResultDecoratorContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTextTestResult.html b/apidocs/testtools.tests.test_testresult.TestTextTestResult.html new file mode 100644 index 0000000..0b8a2ee --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTextTestResult.html @@ -0,0 +1,616 @@ + + + + + testtools.tests.test_testresult.TestTextTestResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Tests for 'TextTestResult'.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
MethodgetvalueUndocumented
Methodtest__init_sets_streamUndocumented
Methodreset_outputUndocumented
Methodtest_startTestRunUndocumented
Methodtest_stopTestRun_count_manyUndocumented
Methodtest_stopTestRun_count_singleUndocumented
Methodtest_stopTestRun_count_zeroUndocumented
Methodtest_stopTestRun_current_timeUndocumented
Methodtest_stopTestRun_successfulUndocumented
Methodtest_stopTestRun_not_successful_failureUndocumented
Methodtest_stopTestRun_not_successful_errorUndocumented
Methodtest_stopTestRun_not_successful_unexpected_successUndocumented
Methodtest_stopTestRun_shows_detailsUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + getvalue(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test__init_sets_stream(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + reset_output(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_count_many(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_count_single(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_count_zero(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_current_time(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_successful(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_not_successful_failure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_not_successful_error(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_not_successful_unexpected_success(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun_shows_details(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html b/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html new file mode 100644 index 0000000..6de9f06 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTextTestResultContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestTextTestResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html new file mode 100644 index 0000000..2b4c845 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResult.html @@ -0,0 +1,621 @@ + + + + + testtools.tests.test_testresult.TestThreadSafeForwardingResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodmake_resultsUndocumented
Methodtest_nonforwarding_methodsUndocumented
Methodtest_tags_not_forwardedUndocumented
Methodtest_global_tags_simpleUndocumented
Methodtest_global_tags_complexUndocumented
Methodtest_local_tagsUndocumented
Methodtest_local_tags_dont_leakUndocumented
Methodtest_startTestRunUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_forward_addErrorUndocumented
Methodtest_forward_addFailureUndocumented
Methodtest_forward_addSkipUndocumented
Methodtest_forward_addSuccessUndocumented
Methodtest_only_one_test_at_a_timeUndocumented
+ +

+ 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 + make_results(self, n): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_nonforwarding_methods(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_tags_not_forwarded(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_global_tags_simple(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_global_tags_complex(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_local_tags(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_local_tags_dont_leak(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_forward_addError(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_forward_addFailure(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_forward_addSkip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_forward_addSuccess(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_only_one_test_at_a_time(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html new file mode 100644 index 0000000..5ad8fc2 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestThreadSafeForwardingResultContract.html @@ -0,0 +1,318 @@ + + + + + testtools.tests.test_testresult.TestThreadSafeForwardingResultContract : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodmakeResultUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ +

+ Inherited from Python26Contract (via StartTestRunContract, FallbackContract, DetailsContract, TagsContract, Python27Contract): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_fresh_result_is_successfulUndocumented
Methodtest_addError_is_failureUndocumented
Methodtest_addFailure_is_failureUndocumented
Methodtest_addSuccess_is_successUndocumented
Methodtest_stop_sets_shouldStopUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + makeResult(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html b/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html new file mode 100644 index 0000000..42ca027 --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.TestTimestampingStreamResult.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testresult.TestTimestampingStreamResult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_startTestRunUndocumented
Methodtest_stopTestRunUndocumented
Methodtest_status_no_timestampUndocumented
Methodtest_status_timestampUndocumented
+ +

+ 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 + test_startTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_stopTestRun(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_no_timestamp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_status_timestamp(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testresult.html b/apidocs/testtools.tests.test_testresult.html new file mode 100644 index 0000000..1c9280e --- /dev/null +++ b/apidocs/testtools.tests.test_testresult.html @@ -0,0 +1,519 @@ + + + + + testtools.tests.test_testresult : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test TestResults and related things.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functionmake_erroring_testUndocumented
Functionmake_failing_testUndocumented
Functionmake_mismatching_testUndocumented
Functionmake_unexpectedly_successful_testUndocumented
Functionmake_testUndocumented
Functionmake_exception_infoUndocumented
ClassPython26ContractUndocumented
ClassPython27ContractUndocumented
ClassTagsContractTests to ensure correct tagging behaviour.
ClassDetailsContractTests for the details API of TestResults.
ClassFallbackContractWhen we fallback we take our policy choice to map calls.
ClassStartTestRunContractDefines the contract for testtools policy choices.
ClassTestTestResultContractUndocumented
ClassTestMultiTestResultContractUndocumented
ClassTestTextTestResultContractUndocumented
ClassTestThreadSafeForwardingResultContractUndocumented
ClassTestExtendedTestResultContractUndocumented
ClassTestPython26TestResultContractUndocumented
ClassTestAdaptedPython26TestResultContractUndocumented
ClassTestPython27TestResultContractUndocumented
ClassTestAdaptedPython27TestResultContractUndocumented
ClassTestAdaptedStreamResultUndocumented
ClassTestTestResultDecoratorContractUndocumented
ClassTestStreamToExtendedContractUndocumented
ClassTestStreamResultContractNo class docstring; 1/5 methods documented
ClassTestBaseStreamResultContractUndocumented
ClassTestCopyStreamResultContractUndocumented
ClassTestDoubleStreamResultContractUndocumented
ClassTestExtendedToStreamDecoratorContractUndocumented
ClassTestStreamSummaryResultContractUndocumented
ClassTestStreamTaggerContractUndocumented
ClassTestStreamToDictContractUndocumented
ClassTestStreamToExtendedDecoratorContractUndocumented
ClassTestStreamToQueueContractUndocumented
ClassTestStreamFailFastContractUndocumented
ClassTestStreamResultRouterContractUndocumented
ClassTestDoubleStreamResultEventsUndocumented
ClassTestCopyStreamResultCopiesUndocumented
ClassTestStreamTaggerUndocumented
ClassTestStreamToDictUndocumented
ClassTestExtendedToStreamDecoratorUndocumented
ClassTestStreamFailFastUndocumented
ClassTestStreamSummaryUndocumented
ClassTestTestControlUndocumented
ClassTestTestResultTests for 'TestResult'.
ClassTestMultiTestResultTests for 'MultiTestResult'.
ClassTestTextTestResultTests for 'TextTestResult'.
ClassTestThreadSafeForwardingResultTests for TestThreadSafeForwardingResult.
ClassTestMergeTagsUndocumented
ClassTestStreamResultRouterUndocumented
ClassTestStreamToQueueUndocumented
ClassTestExtendedToOriginalResultDecoratorBaseNo class docstring; 11/15 methods documented
ClassTestExtendedToOriginalResultDecoratorUndocumented
ClassTestExtendedToOriginalAddErrorUndocumented
ClassTestExtendedToOriginalAddFailureUndocumented
ClassTestExtendedToOriginalAddExpectedFailureUndocumented
ClassTestExtendedToOriginalAddSkipUndocumented
ClassTestExtendedToOriginalAddSuccessUndocumented
ClassTestExtendedToOriginalAddUnexpectedSuccessUndocumented
ClassTestExtendedToOriginalResultOtherAttributesUndocumented
ClassTestNonAsciiResultsTest all kinds of tracebacks are cleanly interpreted as unicode
ClassTestNonAsciiResultsWithUnittestTest that running under unittest produces clean ascii strings
ClassTestDetailsToStrUndocumented
ClassTestByTestResultTestsUndocumented
ClassTestTaggerUndocumented
ClassTestTimestampingStreamResultUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + make_erroring_test(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_failing_test(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_mismatching_test(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_unexpectedly_successful_test(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_test(): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + make_exception_info(exceptionFactory, *args, **kwargs): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.Sample.html b/apidocs/testtools.tests.test_testsuite.Sample.html new file mode 100644 index 0000000..876bb6d --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.Sample.html @@ -0,0 +1,379 @@ + + + + + testtools.tests.test_testsuite.Sample : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__hash__Undocumented
Methodtest_method1Undocumented
Methodtest_method2Undocumented
+ +

+ 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 + __hash__(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_method1(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_method2(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html b/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html new file mode 100644 index 0000000..2bd7854 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun.html @@ -0,0 +1,423 @@ + + + + + testtools.tests.test_testsuite.TestConcurrentStreamTestSuiteRun : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_trivialUndocumented
Methodtest_broken_runnerUndocumented
Methodsplit_suiteUndocumented
Methodtest_setupclass_skipUndocumented
Methodtest_setupclass_upcallUndocumented
+ +

+ 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 + test_trivial(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_broken_runner(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + split_suite(self, suite): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_setupclass_skip(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_setupclass_upcall(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html b/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html new file mode 100644 index 0000000..8c49c31 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestConcurrentTestSuiteRun.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testsuite.TestConcurrentTestSuiteRun : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_broken_testUndocumented
Methodtest_trivialUndocumented
Methodtest_wrap_resultUndocumented
Methodsplit_suiteUndocumented
+ +

+ 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 + test_broken_test(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_trivial(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_wrap_result(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + split_suite(self, suite): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html b/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html new file mode 100644 index 0000000..6b67932 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestFixtureSuite.html @@ -0,0 +1,374 @@ + + + + + testtools.tests.test_testsuite.TestFixtureSuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + +
MethodsetUpUndocumented
Methodtest_fixture_suiteUndocumented
Methodtest_fixture_suite_sortUndocumented
+ +

+ 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.
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 + setUp(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fixture_suite(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_fixture_suite_sort(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.TestSortedTests.html b/apidocs/testtools.tests.test_testsuite.TestSortedTests.html new file mode 100644 index 0000000..e0c0ae9 --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.TestSortedTests.html @@ -0,0 +1,401 @@ + + + + + testtools.tests.test_testsuite.TestSortedTests : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_sorts_custom_suitesUndocumented
Methodtest_custom_suite_without_sort_tests_worksUndocumented
Methodtest_sorts_simple_suitesUndocumented
Methodtest_duplicate_simple_suitesUndocumented
+ +

+ 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 + test_sorts_custom_suites(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_custom_suite_without_sort_tests_works(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_sorts_simple_suites(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_duplicate_simple_suites(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_testsuite.html b/apidocs/testtools.tests.test_testsuite.html new file mode 100644 index 0000000..228d01c --- /dev/null +++ b/apidocs/testtools.tests.test_testsuite.html @@ -0,0 +1,112 @@ + + + + + testtools.tests.test_testsuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test ConcurrentTestSuite and related things.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassSampleUndocumented
ClassTestConcurrentTestSuiteRunUndocumented
ClassTestConcurrentStreamTestSuiteRunUndocumented
ClassTestFixtureSuiteUndocumented
ClassTestSortedTestsUndocumented
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_with_with.TestExpectedException.html b/apidocs/testtools.tests.test_with_with.TestExpectedException.html new file mode 100644 index 0000000..7f9c76b --- /dev/null +++ b/apidocs/testtools.tests.test_with_with.TestExpectedException.html @@ -0,0 +1,511 @@ + + + + + testtools.tests.test_with_with.TestExpectedException : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test the ExpectedException context manager.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodtest_pass_on_raiseUndocumented
Methodtest_pass_on_raise_matcherUndocumented
Methodtest_raise_on_text_mismatchUndocumented
Methodtest_raise_on_general_mismatchUndocumented
Methodtest_raise_on_error_mismatchUndocumented
Methodtest_raise_if_no_exceptionUndocumented
Methodtest_pass_on_raise_any_messageUndocumented
Methodtest_annotateUndocumented
Methodtest_annotated_matcherUndocumented
+ +

+ 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 + test_pass_on_raise(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_pass_on_raise_matcher(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raise_on_text_mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raise_on_general_mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raise_on_error_mismatch(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_raise_if_no_exception(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_pass_on_raise_any_message(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_annotate(self): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + test_annotated_matcher(self): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.tests.test_with_with.html b/apidocs/testtools.tests.test_with_with.html new file mode 100644 index 0000000..f22453f --- /dev/null +++ b/apidocs/testtools.tests.test_with_with.html @@ -0,0 +1,92 @@ + + + + + testtools.tests.test_with_with : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
No module docstring
+
+ +
+ + + + + + + + + + + + + +
ClassTestExpectedExceptionTest the ExpectedException context manager.
Functiontest_suiteUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + test_suite(): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html b/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html new file mode 100644 index 0000000..eee90fa --- /dev/null +++ b/apidocs/testtools.testsuite.ConcurrentStreamTestSuite.html @@ -0,0 +1,149 @@ + + + + + testtools.testsuite.ConcurrentStreamTestSuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A TestSuite whose run() parallelises.
+
+ +
+ + + + + + + + + + + + + + + + + + +
Method__init__Create a ConcurrentTestSuite to execute tests returned by make_tests.
MethodrunRun the tests concurrently.
Method_run_testUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, make_tests): + +
+
+ +
Create a ConcurrentTestSuite to execute tests returned by make_tests.
Parametersmake_testsA helper function that should return some number +of concurrently executable test suite / test case objects. +make_tests must take no parameters and return an iterable of +tuples. Each tuple must be of the form (case, route_code), where +case is a TestCase-like object with a run(result) method, and +route_code is either None or a unicode string.
+
+
+ + + + + + +
+ + def + run(self, result): + +
+
+ +

Run the tests concurrently.

+

This calls out to the provided make_tests helper to determine the +concurrency to use and to assign routing codes to each worker.

+

ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the made tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if the test run is to be aborted.

+

The tests are run with an ExtendedToStreamDecorator wrapped around a +StreamToQueue instance. ConcurrentStreamTestSuite dequeues events from +the queue and forwards them to result. Tests can therefore be either +original unittest tests (or compatible tests), or new tests that emit +StreamResult events directly.

ParametersresultA StreamResult instance. The caller is responsible for +calling startTestRun on this instance prior to invoking suite.run, +and stopTestRun subsequent to the run method returning.
+
+
+ + + + + + +
+ + def + _run_test(self, test, process_result, route_code): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testsuite.ConcurrentTestSuite.html b/apidocs/testtools.testsuite.ConcurrentTestSuite.html new file mode 100644 index 0000000..d8eaa97 --- /dev/null +++ b/apidocs/testtools.testsuite.ConcurrentTestSuite.html @@ -0,0 +1,171 @@ + + + + + testtools.testsuite.ConcurrentTestSuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
A TestSuite whose run() calls out to a concurrency strategy.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Create a ConcurrentTestSuite to execute suite.
MethodrunRun the tests concurrently.
Method_wrap_resultWrap a thread-safe result before sending it test results.
Method_run_testUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + __init__(self, suite, make_tests, wrap_result=None): + +
+
+ +
Create a ConcurrentTestSuite to execute suite.
ParameterssuiteA suite to run concurrently.
make_testsA helper function to split the tests in the +ConcurrentTestSuite into some number of concurrently executing +sub-suites. make_tests must take a suite, and return an iterable +of TestCase-like object, each of which must have a run(result) +method.
wrap_resultAn optional function that takes a thread-safe +result and a thread number and must return a TestResult +object. If not provided, then ConcurrentTestSuite will just +use a ThreadsafeForwardingResult wrapped around the result +passed to run().
+
+
+ + + + + + +
+ + def + _wrap_result(self, thread_safe_result, thread_number): + +
+
+ +

Wrap a thread-safe result before sending it test results.

+

You can either override this in a subclass or pass your own +wrap_result in to the constructor. The latter is preferred.

+
+
+ + + + + + +
+ + def + run(self, result): + +
+
+ +

Run the tests concurrently.

+

This calls out to the provided make_tests helper, and then serialises +the results so that result only sees activity from one TestCase at +a time.

+

ConcurrentTestSuite provides no special mechanism to stop the tests +returned by make_tests, it is up to the make_tests to honour the +shouldStop attribute on the result object they are run with, which will +be set if an exception is raised in the thread which +ConcurrentTestSuite.run is called in.

+
+
+ + + + + + +
+ + def + _run_test(self, test, process_result, queue): + +
+
+ +
Undocumented
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.testsuite.html b/apidocs/testtools.testsuite.html new file mode 100644 index 0000000..c739d78 --- /dev/null +++ b/apidocs/testtools.testsuite.html @@ -0,0 +1,199 @@ + + + + + testtools.testsuite : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Test suites and related things.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functioniterate_testsIterate through all of the test cases in 'test_suite_or_case'.
ClassConcurrentTestSuiteA TestSuite whose run() calls out to a concurrency strategy.
ClassConcurrentStreamTestSuiteA TestSuite whose run() parallelises.
Functionfilter_by_idsRemove tests from suite_or_case where their id is not in test_ids.
Functionsorted_testsSort suite_or_case while preserving non-vanilla TestSuites.
Function_flatten_testsUndocumented
+ + + +
+ +
+ +
+ + + + + + +
+ + def + iterate_tests(test_suite_or_case): + +
+
+ +
Iterate through all of the test cases in 'test_suite_or_case'.
+
+
+ + + + + + +
+ + def + _flatten_tests(suite_or_case, unpack_outer=False): + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + filter_by_ids(suite_or_case, test_ids): + +
+
+ +

Remove tests from suite_or_case where their id is not in test_ids.

+

This helper exists to provide backwards compatability with older versions +of Python (currently all versions :)) that don't have a native +filter_by_ids() method on Test(Case|Suite).

+
+
For subclasses of TestSuite, filtering is done by:
+
    +
  • attempting to call suite.filter_by_ids(test_ids)
  • +
  • if there is no method, iterating the suite and identifying tests to +remove, then removing them from _tests, manually recursing into +each entry.
  • +
+
+
For objects with an id() method - TestCases, filtering is done by:
+
    +
  • attempting to return case.filter_by_ids(test_ids)
  • +
  • if there is no such method, checking for case.id() in test_ids +and returning case if it is, or TestSuite() if it is not.
  • +
+
+
+

For anything else, it is not filtered - it is returned as-is.

+

To provide compatability with this routine for a custom TestSuite, just +define a filter_by_ids() method that will return a TestSuite equivalent to +the original minus any tests not in test_ids. +Similarly to provide compatability for a custom TestCase that does +something unusual define filter_by_ids to return a new TestCase object +that will only run test_ids that are in the provided container. If none +would run, return an empty TestSuite().

+

The contract for this function does not require mutation - each filtered +object can choose to return a new object with the filtered tests. However +because existing custom TestSuite classes in the wild do not have this +method, we need a way to copy their state correctly which is tricky: +thus the backwards-compatible code paths attempt to mutate in place rather +than guessing how to reconstruct a new suite.

Parameterssuite_or_caseA test suite or test case.
test_idsSomething that supports the __contains__ protocol.
Returnssuite_or_case, unless suite_or_case was a case that itself +fails the predicate when it will return a new unittest.TestSuite with +no contents.
+
+
+ + + + + + +
+ + def + sorted_tests(suite_or_case, unpack_outer=False): + +
+
+ +
Sort suite_or_case while preserving non-vanilla TestSuites.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/testtools.utils.html b/apidocs/testtools.utils.html new file mode 100644 index 0000000..7ee64b4 --- /dev/null +++ b/apidocs/testtools.utils.html @@ -0,0 +1,63 @@ + + + + + testtools.utils : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+

Utilities for dealing with stuff in unittest.

+

Legacy - deprecated - use testtools.testsuite.iterate_tests

+
+ +
+ + + + +
+ +
+ + + +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file diff --git a/apidocs/undoccedSummary.html b/apidocs/undoccedSummary.html new file mode 100644 index 0000000..7adc50b --- /dev/null +++ b/apidocs/undoccedSummary.html @@ -0,0 +1,34 @@ + + + + + Summary of Undocumented Objects + + + + + + + +
+ + + + + +
+ + \ No newline at end of file -- cgit v1.2.1