twisted.internet.test.test_base.DelayedCallMixin(object) class documentationtwisted.internet.test.test_base
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_base.DelayedCallDebugTests, twisted.internet.test.test_base.DelayedCallNoDebugTests
| Method | setUp | Create two DelayedCallinstanced scheduled to run at different times. | 
| Method | test_str | The string representation of a DelayedCallinstance, as returned bystr,
includes the unsigned id of the instance, as well as its state, the 
function to be called, and the function arguments. | 
| Method | test_repr | The string representation of a DelayedCallinstance, as returned by {repr}, is identical to that returned bystr. | 
| Method | test_lt | For two instances of DelayedCallaandb,a < bis true if and 
only ifais scheduled to run beforeb. | 
| Method | test_le | For two instances of DelayedCallaandb,a <= bis true if and 
only ifais scheduled to run beforebor at the 
same time asb. | 
| Method | test_gt | For two instances of DelayedCallaandb,a > bis true if and 
only ifais scheduled to run afterb. | 
| Method | test_ge | For two instances of DelayedCallaandb,a > bis true if and 
only ifais scheduled to run afterbor at the 
same time asb. | 
| Method | test_eq | A DelayedCallinstance is only equal to itself. | 
| Method | test_ne | A DelayedCallinstance is not equal to any other object. | 
| Method | _getDelayedCallAt | Get a DelayedCallinstance at a giventime. | 
Get a DelayedCall 
instance at a given time.
| Parameters | time | The absolute time at which the returned DelayedCallwill be scheduled. | 
Create two DelayedCall 
instanced scheduled to run at different times.
The string representation of a DelayedCall 
instance, as returned by str,
includes the unsigned id of the instance, as well as its state, the 
function to be called, and the function arguments.
The string representation of a DelayedCall 
instance, as returned by {repr}, is identical to that returned by str.
For two instances of DelayedCall
a and b, a < b is true if and 
only if a is scheduled to run before b.
For two instances of DelayedCall
a and b, a <= b is true if and 
only if a is scheduled to run before b or at the 
same time as b.
For two instances of DelayedCall
a and b, a > b is true if and 
only if a is scheduled to run after b.
For two instances of DelayedCall
a and b, a > b is true if and 
only if a is scheduled to run after b or at the 
same time as b.