mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix names now?
This commit is contained in:
parent
cd9d3cdcb6
commit
96efba5d85
@ -16,14 +16,14 @@ class ActionPluginTests(TestCase):
|
|||||||
"""a action plugin"""
|
"""a action plugin"""
|
||||||
ACTION_NAME = 'abc123'
|
ACTION_NAME = 'abc123'
|
||||||
|
|
||||||
def perform_action():
|
def perform_action(self):
|
||||||
return self.ACTION_RETURN + 'action'
|
return ActionPluginTests.ACTION_RETURN + 'action'
|
||||||
|
|
||||||
def get_result():
|
def get_result(self):
|
||||||
return self.ACTION_RETURN + 'result'
|
return ActionPluginTests.ACTION_RETURN + 'result'
|
||||||
|
|
||||||
def get_info():
|
def get_info(self):
|
||||||
return self.ACTION_RETURN + 'info'
|
return ActionPluginTests.ACTION_RETURN + 'info'
|
||||||
|
|
||||||
self.action_plugin = TestActionPlugin('user')
|
self.action_plugin = TestActionPlugin('user')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user