From 23608e69332017a08c5672fef2678c7957f5827a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 18:36:33 +0200 Subject: [PATCH] remove unneeded args --- InvenTree/plugin/base/action/test_action.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/plugin/base/action/test_action.py b/InvenTree/plugin/base/action/test_action.py index 9de672cd6f..9484c6687d 100644 --- a/InvenTree/plugin/base/action/test_action.py +++ b/InvenTree/plugin/base/action/test_action.py @@ -14,7 +14,7 @@ class ActionMixinTests(TestCase): def setUp(self): class SimplePlugin(ActionMixin, InvenTreePlugin): pass - self.plugin = SimplePlugin('user') + self.plugin = SimplePlugin() class TestActionPlugin(ActionMixin, InvenTreePlugin): """a action plugin""" @@ -29,12 +29,12 @@ class ActionMixinTests(TestCase): def get_info(self): return ActionMixinTests.ACTION_RETURN + 'info' - self.action_plugin = TestActionPlugin('user') + self.action_plugin = TestActionPlugin() class NameActionPlugin(ActionMixin, InvenTreePlugin): NAME = 'Aplugin' - self.action_name = NameActionPlugin('user') + self.action_name = NameActionPlugin() def test_action_name(self): """check the name definition possibilities"""