Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.144.235.195
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Assorted functionality which is commonly useful when writing unit tests.
This module has been deprecated, please use twisted.internet.testing
instead.
"""
from twisted.internet import testing
__all__ = [
"AccumulatingProtocol",
"LineSendingProtocol",
"FakeDatagramTransport",
"StringTransport",
"StringTransportWithDisconnection",
"StringIOWithoutClosing",
"_FakeConnector",
"_FakePort",
"MemoryReactor",
"MemoryReactorClock",
"RaisingMemoryReactor",
"NonStreamingProducer",
"waitUntilAllDisconnected",
"EventLoggingObserver",
]
AccumulatingProtocol = testing.AccumulatingProtocol
LineSendingProtocol = testing.LineSendingProtocol
FakeDatagramTransport = testing.FakeDatagramTransport
StringTransport = testing.StringTransport
StringTransportWithDisconnection = testing.StringTransportWithDisconnection
StringIOWithoutClosing = testing.StringIOWithoutClosing
_FakeConnector = testing._FakeConnector
_FakePort = testing._FakePort
MemoryReactor = testing.MemoryReactor
MemoryReactorClock = testing.MemoryReactorClock
RaisingMemoryReactor = testing.RaisingMemoryReactor
NonStreamingProducer = testing.NonStreamingProducer
waitUntilAllDisconnected = testing.waitUntilAllDisconnected
EventLoggingObserver = testing.EventLoggingObserver
|