From 96efba5d85f06f06a9aad9e50ded0d56ce4af683 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 29 Sep 2021 00:08:29 +0200 Subject: [PATCH] fix names now? --- InvenTree/plugins/test_action.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/InvenTree/plugins/test_action.py b/InvenTree/plugins/test_action.py index 7b539cbfcc..11641da406 100644 --- a/InvenTree/plugins/test_action.py +++ b/InvenTree/plugins/test_action.py @@ -16,14 +16,14 @@ class ActionPluginTests(TestCase): """a action plugin""" ACTION_NAME = 'abc123' - def perform_action(): - return self.ACTION_RETURN + 'action' + def perform_action(self): + return ActionPluginTests.ACTION_RETURN + 'action' - def get_result(): - return self.ACTION_RETURN + 'result' + def get_result(self): + return ActionPluginTests.ACTION_RETURN + 'result' - def get_info(): - return self.ACTION_RETURN + 'info' + def get_info(self): + return ActionPluginTests.ACTION_RETURN + 'info' self.action_plugin = TestActionPlugin('user')