mistral/mistral/tests/unit/actions
Dougal Matthews 549ec1f3bf Return the result of the MistralHTTPAction
If the HTTP request fails, we need to fail the task. Returning the error
from the parent class will do this. While this means we also return the
success result it will be ignored by the Mistral engine.

Credit to @lijianying10 on GitHub for sending this fix via a pull
request. Tests were then added to verify the change.

Closes-Bug: #1779973
Change-Id: Ib8754c8de2d6677d71383b3793d0fa168be575f5
2018-07-16 11:43:26 +01:00
..
openstack Add test for _try_import 2018-05-25 15:52:33 +03:00
__init__.py BP mistral-actions-design (add new actions package) 2014-04-14 19:24:27 +07:00
test_action_manager.py Removed unnecessary utf-8 encoding 2017-01-11 02:58:04 +00:00
test_javascript_action.py Adding mistral_lib actions to mistral 2017-05-17 17:59:38 +01:00
test_std_echo_action.py Adding mistral_lib actions to mistral 2017-05-17 17:59:38 +01:00
test_std_email_action.py Adding mistral_lib actions to mistral 2017-05-17 17:59:38 +01:00
test_std_fail_action.py Add the 'error_data' parameter to the FailAction 2018-02-25 08:19:57 +00:00
test_std_http_action.py Cleanup test_std_http_action 2017-09-11 10:27:10 +02:00
test_std_mistral_http_action.py Return the result of the MistralHTTPAction 2018-07-16 11:43:26 +01:00
test_std_ssh_action.py Fix std.ssh "password" parameter 2018-03-27 15:27:15 +05:30
test_std_test_dict_action.py Adding a test for std.test_dict action 2018-04-16 10:43:30 +07:00