Improved documentation
This commit is contained in:
1 parent
99e0ddc2fb
commit
bb7a49941d
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user