From 50b17d6ae84a70b261617b3293b339f15bf59435 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 6 May 2022 01:03:11 +0200 Subject: [PATCH] add mixin test --- InvenTree/plugin/test_plugin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/InvenTree/plugin/test_plugin.py b/InvenTree/plugin/test_plugin.py index c0835c2fb3..6a9cf38ecd 100644 --- a/InvenTree/plugin/test_plugin.py +++ b/InvenTree/plugin/test_plugin.py @@ -35,6 +35,10 @@ class InvenTreePluginTests(TestCase): """check if a basic plugin is active""" 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): """ Tests for the plugin extras """