pytc.test.test_xtc_delta_u_chunking.TestDeltaUChunking¶
- class pytc.test.test_xtc_delta_u_chunking.TestDeltaUChunking(methodName='runTest')[source]¶
Bases:
TestCaseMethods
__call__Call self as a function.
__delattr__Implement delattr(self, name).
__dir__Default dir() implementation.
__eq__Return self==value.
__format__Default object formatter.
__ge__Return self>=value.
__getattribute__Return getattr(self, name).
__getstate__Helper for pickle.
__gt__Return self>value.
__hash__Return hash(self).
__init__Create an instance of the class that will use the named test method when executed.
__init_subclass__This method is called when a class is subclassed.
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__new____reduce__Helper for pickle.
__reduce_ex__Helper for pickle.
__repr__Return repr(self).
__setattr__Implement setattr(self, name, value).
__sizeof__Size of object in memory, in bytes.
__str__Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
_addDuration_addExpectedFailure_addUnexpectedSuccess_baseAssertEqualThe default assertEqual implementation, not type specific.
_callCleanup_callSetUp_callTearDown_callTestMethod_formatMessageHonour the longMessage attribute when generating failure messages.
_getAssertEqualityFuncGet a detailed comparison function for the types of the two args.
_truncateMessageaddClassCleanupSame as addCleanup, except the cleanup items are called even if setUpClass fails (unlike tearDownClass).
addCleanupAdd a function, with arguments, to be called when the test is completed.
addTypeEqualityFuncAdd a type specific assertEqual style function to compare a type.
assertAlmostEqualFail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the difference between the two objects is more than the given delta.
assertCountEqualAsserts that two iterables have the same elements, the same number of times, without regard to order.
assertDictEqualassertEqualFail if the two objects are unequal as determined by the '==' operator.
assertFalseCheck that the expression is false.
assertGreaterJust like self.assertTrue(a > b), but with a nicer default message.
assertGreaterEqualJust like self.assertTrue(a >= b), but with a nicer default message.
assertInJust like self.assertTrue(a in b), but with a nicer default message.
assertIsJust like self.assertTrue(a is b), but with a nicer default message.
assertIsInstanceSame as self.assertTrue(isinstance(obj, cls)), with a nicer default message.
assertIsNoneSame as self.assertTrue(obj is None), with a nicer default message.
assertIsNotJust like self.assertTrue(a is not b), but with a nicer default message.
assertIsNotNoneIncluded for symmetry with assertIsNone.
assertLessJust like self.assertTrue(a < b), but with a nicer default message.
assertLessEqualJust like self.assertTrue(a <= b), but with a nicer default message.
assertListEqualA list-specific equality assertion.
assertLogsFail unless a log message of level level or higher is emitted on logger_name or its children.
assertMultiLineEqualAssert that two multi-line strings are equal.
assertNoLogsFail unless no log messages of level level or higher are emitted on logger_name or its children.
assertNotAlmostEqualFail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the difference between the two objects is less than the given delta.
assertNotEqualFail if the two objects are equal as determined by the '!=' operator.
assertNotInJust like self.assertTrue(a not in b), but with a nicer default message.
assertNotIsInstanceIncluded for symmetry with assertIsInstance.
assertNotRegexFail the test if the text matches the regular expression.
assertRaisesFail unless an exception of class expected_exception is raised by the callable when invoked with specified positional and keyword arguments.
assertRaisesRegexAsserts that the message in a raised exception matches a regex.
assertRegexFail the test unless the text matches the regular expression.
assertSequenceEqualAn equality assertion for ordered sequences (like lists and tuples).
assertSetEqualA set-specific equality assertion.
assertTrueCheck that the expression is true.
assertTupleEqualA tuple-specific equality assertion.
assertWarnsFail unless a warning of class warnClass is triggered by the callable when invoked with specified positional and keyword arguments.
assertWarnsRegexAsserts that the message in a triggered warning matches a regexp.
countTestCasesdebugRun the test without collecting errors in a TestResult
defaultTestResultdoClassCleanupsExecute all class cleanup functions.
doCleanupsExecute all cleanup functions.
enterClassContextSame as enterContext, but class-wide.
enterContextEnters the supplied context manager.
failFail immediately, with the given message.
idrunsetUpHook method for setting up the test fixture before exercising it.
setUpClassHook method for setting up class fixture before running tests in the class.
shortDescriptionReturns a one-line description of the test, or None if no description has been provided.
skipTestSkip this test.
subTestReturn a context manager that will return the enclosed block of code in a subtest identified by the optional message and keyword parameters.
tearDownHook method for deconstructing the test fixture after testing it.
tearDownClassHook method for deconstructing the class fixture after running all tests in the class.
Attributes
__annotations____dict____doc____module____weakref__list of weak references to the object
_classSetupFailed_class_cleanups_diffThresholdlongMessagemaxDiff