This commit is contained in:
Matthias 2021-09-26 22:16:37 +02:00
parent fb94a0d335
commit 64e177a100
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -52,8 +52,8 @@ class PluginTagTests(TestCase):
def setUp(self): def setUp(self):
self.sample = SampleIntegrationPlugin() self.sample = SampleIntegrationPlugin()
self.no = NoIntegrationPlugin() self.plugin_no = NoIntegrationPlugin()
self.wrong = WrongIntegrationPlugin() self.plugin_wrong = WrongIntegrationPlugin()
def test_tag_plugin_list(self): def test_tag_plugin_list(self):
"""test that all plugins are listed""" """test that all plugins are listed"""
@ -69,6 +69,6 @@ class PluginTagTests(TestCase):
# mixin enabled # mixin enabled
self.assertEqual(plugin_tags.mixin_enabled(self.sample, key), True) self.assertEqual(plugin_tags.mixin_enabled(self.sample, key), True)
# mixin not enabled # mixin not enabled
self.assertEqual(plugin_tags.mixin_enabled(self.wrong, key), False) self.assertEqual(plugin_tags.mixin_enabled(self.plugin_wrong, key), False)
# mxixn not existing # mxixn not existing
self.assertEqual(plugin_tags.mixin_enabled(self.no, key), False) self.assertEqual(plugin_tags.mixin_enabled(self.plugin_no, key), False)