diff --git a/cloudpulse/scenario/plugins/all_tests/all_tests.py b/cloudpulse/scenario/plugins/all_tests/all_tests.py index 65bdee1..c924997 100644 --- a/cloudpulse/scenario/plugins/all_tests/all_tests.py +++ b/cloudpulse/scenario/plugins/all_tests/all_tests.py @@ -53,4 +53,6 @@ class all_scenario(base.Scenario): if funres[0] != 200: resultmsg += ("%s\n\n" % (funres[1])) result = 404 + if not resultmsg: + resultmsg = "All Tests passed" return (result, resultmsg) diff --git a/cloudpulse/scenario/plugins/endpoint_tests/endpoint.py b/cloudpulse/scenario/plugins/endpoint_tests/endpoint.py index a3a2bda..1d65e3d 100644 --- a/cloudpulse/scenario/plugins/endpoint_tests/endpoint.py +++ b/cloudpulse/scenario/plugins/endpoint_tests/endpoint.py @@ -121,4 +121,6 @@ class endpoint_scenario(base.Scenario): if funres[0] != 200: resultmsg += ("%s failed: %s\n\n" % (func, funres[1])) result = 404 + if not resultmsg: + resultmsg = "All Tests passed" return (result, resultmsg) diff --git a/cloudpulse/scenario/plugins/operator_tests/operator.py b/cloudpulse/scenario/plugins/operator_tests/operator.py index bced13a..4383e6e 100644 --- a/cloudpulse/scenario/plugins/operator_tests/operator.py +++ b/cloudpulse/scenario/plugins/operator_tests/operator.py @@ -229,4 +229,6 @@ class operator_scenario(base.Scenario): if funres[0] != 200: resultmsg += ("%s failed: %s\n" % (func, funres[1])) result = 404 + if not resultmsg: + resultmsg = "All Tests passed" return (result, resultmsg)