Improved documentation
This commit is contained in:
@@ -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