Known subclasses: twisted.internet.test.test_base.DelayedCallDebugTests, twisted.internet.test.test_base.DelayedCallNoDebugTests

DelayedCall

Method setUp Create two DelayedCall instanced scheduled to run at different times.
Method test_str 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.
Method test_repr The string representation of a DelayedCall instance, as returned by {repr}, is identical to that returned by str.
Method test_lt For two instances of DelayedCall a and b, a < b is true if and only if a is scheduled to run before b.
Method test_le 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.
Method test_gt For two instances of DelayedCall a and b, a > b is true if and only if a is scheduled to run after b.
Method test_ge 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.
Method test_eq A DelayedCall instance is only equal to itself.
Method test_ne A DelayedCall instance is not equal to any other object.
Method _getDelayedCallAt Get a DelayedCall instance at a given time.
def _getDelayedCallAt(self, time):

Get a DelayedCall instance at a given time.

ParameterstimeThe absolute time at which the returned DelayedCall will be scheduled.
def setUp(self):
def test_str(self):

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.

def test_repr(self):

The string representation of a DelayedCall instance, as returned by {repr}, is identical to that returned by str.

def test_lt(self):

For two instances of DelayedCall a and b, a < b is true if and only if a is scheduled to run before b.

def test_le(self):

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.

def test_gt(self):

For two instances of DelayedCall a and b, a > b is true if and only if a is scheduled to run after b.

def test_ge(self):

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.

def test_eq(self):

A DelayedCall instance is only equal to itself.

def test_ne(self):

A DelayedCall instance is not equal to any other object.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.