modify grammar mistake

Change-Id: Ibefc994787ddf009afbe685771923f5753731495
This commit is contained in:
sunqingliang6 2018-06-11 19:08:53 +08:00 committed by Renat Akhmerov
parent fdc597a424
commit 30e3062385
3 changed files with 5 additions and 5 deletions

View File

@ -110,7 +110,7 @@ class FailAction(actions.Action):
class HTTPAction(actions.Action):
"""Constructs an HTTP action.
"""HTTP action.
:param url: URL for the new HTTP request.
:param method: (optional, 'GET' by default) method for the new HTTP

View File

@ -168,8 +168,8 @@ class EngineClient(eng.Engine):
"""Conveys action result to Mistral Engine.
This method should be used by clients of Mistral Engine to update
state of an action execution once action has executed. One of the
clients of this method is Mistral REST API server that receives
the state of an action execution once action has executed. One of
the clients of this method is Mistral REST API server that receives
action result from the outside action handlers.
Note: calling this method serves an event notifying Mistral that
@ -204,7 +204,7 @@ class EngineClient(eng.Engine):
"""Conveys update of action state to Mistral Engine.
This method should be used by clients of Mistral Engine to update
state of an action execution once action has executed.
the state of an action execution once action has executed.
Note: calling this method serves an event notifying Mistral that it
may need to change the state of the parent task and workflow. Use

View File

@ -41,7 +41,7 @@ class ActionManagerTest(base.DbTestCase):
std_http = db_api.get_action_definition("std.http")
std_echo = db_api.get_action_definition("std.echo")
self.assertIn("Constructs an HTTP action", std_http.description)
self.assertIn("HTTP action", std_http.description)
self.assertIn("param body: (optional) Dictionary, bytes",
std_http.description)