Add action description
Add action get_description in class BaseAction. This information will be sent to the API side via notification. Partially Implements: blueprint dynamic-action-description Change-Id: I9ce1b18ad8c5eb7db62ec926d1859d0f508074b0
This commit is contained in:
@@ -52,6 +52,9 @@ class FakeAction(abase.BaseAction):
|
||||
def execute(self):
|
||||
raise ExpectedException()
|
||||
|
||||
def get_description(self):
|
||||
return "fake action, just for test"
|
||||
|
||||
|
||||
class TestDefaultWorkFlowEngine(base.DbTestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user