add mixin test

This commit is contained in:
Matthias 2022-05-06 01:03:11 +02:00
parent ccefaade92
commit 50b17d6ae8
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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 """