def getAllPlugins(self):
        """
        Get all the plugins loadable from our dummy package, and return their
        short names.
        """
        # Import the module we just added to our path.  (Local scope because
        # this package doesn't exist outside of this test.)
        import plugindummy.plugins
        x = list(plugin.getPlugins(ITestPlugin, plugindummy.plugins))
        return [plug.__name__ for plug in x]

        Get all the plugins loadable from our dummy package, and return their
        short names.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_plugin.py