def testOnePluginIncorrectJSON(self):
        # Copy plugin to directory here
        self.copyPlugin()
        # Edit json
        with open(os.path.join(self.plugin_dest, plugin.Plugin.PLUGIN_INFO_FILE), "w") as f:
            f.write("This is so not some fucking json")
        plugin.scan_for_plugins()
        gevent.sleep(.3)
        self.failIf(len(plugin.plugins_available()) > 0)
have plugin with invalid json
dataset/ETHPy150Open metafetish/buttplug/tests/test.py/PluginTests.testOnePluginIncorrectJSON