

def test_interfaces(self):
    '\n        L{Factory} instances provide both L{IProtocolFactory} and\n        L{ILoggingContext}.\n        '
    factory = Factory()
    self.assertTrue(verifyObject(IProtocolFactory, factory))
    self.assertTrue(verifyObject(ILoggingContext, factory))

dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py FactoryTests.test_interfaces/original