test is_active

This commit is contained in:
Matthias 2022-05-03 23:19:51 +02:00
parent cf0cbff69a
commit e1b395c9be
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -31,6 +31,10 @@ class InvenTreePluginTests(TestCase):
self.assertEqual(self.named_plugin.PLUGIN_NAME, 'abc123')
self.assertEqual(self.named_plugin.plugin_name(), 'abc123')
def test_basic_is_active(self):
"""check if a basic plugin is active"""
self.assertEqual(self.plugin.is_active(), False)
class PluginTagTests(TestCase):
""" Tests for the plugin extras """