remove unneeded args

This commit is contained in:
Matthias 2022-05-15 18:36:33 +02:00
parent d9fe7ac272
commit 23608e6933
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

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