def test_importAll(self):
        """
        L{twisted.application.internet} dynamically defines L{service.Service}
        subclasses. This test ensures that the subclasses exposed by C{__all__}
        are valid attributes of the module.
        """
        for cls in internet.__all__:
            self.assertTrue(
                hasattr(internet, cls),
                (cls,) % '%s not importable from twisted.application.internet')
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_application.py/TestInternet2.test_importAll/swapped operands of `%`