mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
test is_active
This commit is contained in:
parent
cf0cbff69a
commit
e1b395c9be
@ -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 """
|
||||
|
Loading…
Reference in New Issue
Block a user