From bb7a49941dfede668caa7ee026b5b43f4f1c34f4 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 13 Jan 2016 14:22:22 +0100 Subject: [PATCH] Improved documentation --- script/tests/templates/testTemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/tests/templates/testTemplate.py b/script/tests/templates/testTemplate.py index 35f03f2..3f545da 100644 --- a/script/tests/templates/testTemplate.py +++ b/script/tests/templates/testTemplate.py @@ -53,12 +53,12 @@ def startTest(testName, DEVICE, params): Examples: - whenever the code must quit (i.e. after an error), you must end with the following 3 lines: + whenever the code must quit (i.e. after an error), you must end with the following: ret = 'here is some info on what failed on the test' # This is your return message success = False # The test did not complete successfully test.sendFeedback(ret, success) # Return to pshell - whenever the code is finished successfully, you must end with the following 3 lines: + whenever the code is finished successfully, you must end with the following: ret = 'here is some info on the success of the test' # This is your return message success = True # The test complete successfully test.sendFeedback(ret, success) # Return to pshell