Fixing issue when result msg is not properly added
Change-Id: I32c24fb2e821c028d8cf45f49c5c367073fb3dcb
This commit is contained in:
parent
57e051e542
commit
923c6682c5
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue