mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add mixin test
This commit is contained in:
parent
ccefaade92
commit
50b17d6ae8
@ -35,6 +35,10 @@ class InvenTreePluginTests(TestCase):
|
|||||||
"""check if a basic plugin is active"""
|
"""check if a basic plugin is active"""
|
||||||
self.assertEqual(self.plugin.is_active(), False)
|
self.assertEqual(self.plugin.is_active(), False)
|
||||||
|
|
||||||
|
def test_mixins(self):
|
||||||
|
"""check if mixins fnc works"""
|
||||||
|
self.assertEqual(self.named_plugin.mixins(), {})
|
||||||
|
|
||||||
|
|
||||||
class PluginTagTests(TestCase):
|
class PluginTagTests(TestCase):
|
||||||
""" Tests for the plugin extras """
|
""" Tests for the plugin extras """
|
||||||
|
Loading…
Reference in New Issue
Block a user