From 0d0b713f6e1485230fb47355c8506149f52bcbb9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 6 May 2022 02:26:58 +0200 Subject: [PATCH] Fix tests --- InvenTree/common/tests.py | 2 +- InvenTree/plugin/test_plugin.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index a8ab25a8d8..dee776f7d9 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -515,7 +515,7 @@ class WebhookMessageTests(TestCase): assert message.body == {"this": "is a message"} -class NotificationTest(TestCase): +class NotificationTest(InvenTreeAPITestCase): def test_check_notification_entries(self): diff --git a/InvenTree/plugin/test_plugin.py b/InvenTree/plugin/test_plugin.py index 6a9cf38ecd..c0835c2fb3 100644 --- a/InvenTree/plugin/test_plugin.py +++ b/InvenTree/plugin/test_plugin.py @@ -35,10 +35,6 @@ 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 """