fix func definition

This commit is contained in:
Matthias 2022-05-15 20:05:56 +02:00
parent cced30c081
commit a8d3ee15bf
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -20,13 +20,13 @@ class ActionMixinTests(TestCase):
"""a action plugin"""
ACTION_NAME = 'abc123'
def perform_action(self):
def perform_action(self, user=None, data=None):
return ActionMixinTests.ACTION_RETURN + 'action'
def get_result(self):
def get_result(self, user=None, data=None):
return ActionMixinTests.ACTION_RETURN + 'result'
def get_info(self):
def get_info(self, user=None, data=None):
return ActionMixinTests.ACTION_RETURN + 'info'
self.action_plugin = TestActionPlugin()