def test_pluginDiscovery(self):
        """
        L{endpoints._StandardIOParser} is found as a plugin for
        L{interfaces.IStreamServerEndpointStringParser} interface.
        """
        parsers = list(getPlugins(
                interfaces.IStreamServerEndpointStringParser))
        for p in parsers:
            if isinstance(p, self._parserClass):
                break
        else:
            self.fail("Did not find StandardIOEndpoint parser in %r" % (parsers,))
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_endpoints.py/StandardIOEndpointPluginTests.test_pluginDiscovery/original