def test_factoryLogPrefix(self):
        """
        L{WrappingFactory.logPrefix} is customized to mention both the original
        factory and the wrapping factory.
        """
        server = Server()
        factory = policies.WrappingFactory(server)
        self.assertEqual("Server (WrappingFactory)", factory.logPrefix())

        L{WrappingFactory.logPrefix} is customized to mention both the original
        factory and the wrapping factory.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_policies.py