diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-04-18 11:18:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-04-18 15:41:49 +0300 |
commit | a09e1064f58673591093df7f3b709a775c06b866 (patch) | |
tree | 173e13e3a3293e4a1871bb1fa2bb1ad3cd07d938 /cliapp/pluginmgr_tests.py | |
parent | d3b79bed48895150fb7c33f577716a900fda3833 (diff) | |
download | cliapp-a09e1064f58673591093df7f3b709a775c06b866.tar.gz |
Add running of pylint in 'make check' and fix things
Diffstat (limited to 'cliapp/pluginmgr_tests.py')
-rw-r--r-- | cliapp/pluginmgr_tests.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cliapp/pluginmgr_tests.py b/cliapp/pluginmgr_tests.py index ccca868..e2a79f1 100644 --- a/cliapp/pluginmgr_tests.py +++ b/cliapp/pluginmgr_tests.py @@ -80,20 +80,6 @@ class PluginManagerTests(unittest.TestCase): def test_raises_keyerror_for_unknown_plugin(self): self.assertRaises(KeyError, self.pm.__getitem__, 'Hithere') - def test_enable_plugins_enables_all_plugins(self): - enabled = set() - for plugin in self.pm.plugins: - plugin.enable = lambda: enabled.add(plugin) - self.pm.enable_plugins() - self.assertEqual(enabled, set(self.pm.plugins)) - - def test_disable_plugins_disables_all_plugins(self): - disabled = set() - for plugin in self.pm.plugins: - plugin.disable = lambda: disabled.add(plugin) - self.pm.disable_plugins() - self.assertEqual(disabled, set(self.pm.plugins)) - class PluginManagerCompatibleApplicationVersionTests(unittest.TestCase): |