ble - adding test success result to output
This commit is contained in:
1 parent
6eaa22417c
commit
b2f6f26cf9
1 file changed
+4
-3
+4
-3
@@ -509,11 +509,12 @@ if __name__ == "__main__":
|
|||||||
test_count = test_count + 1
|
test_count = test_count + 1
|
||||||
this_test_result = []
|
this_test_result = []
|
||||||
log.info(f"Starting test run {test_count} of {count}")
|
log.info(f"Starting test run {test_count} of {count}")
|
||||||
test_label = f"Test {test_count} result"
|
# run test_driver here
|
||||||
# it's tricky, the test run is called here inside the json
|
this_test_sensors = test_driver(test_count = test_count, bt_usb_id = current_usb_id)
|
||||||
|
test_label = f"Test {test_count} result - {this_test_sensors['test_result']}"
|
||||||
this_test_result = {
|
this_test_result = {
|
||||||
"test_label": test_label,
|
"test_label": test_label,
|
||||||
"test_result": test_driver(test_count = test_count, bt_usb_id = current_usb_id)
|
"test_result": this_test_sensors
|
||||||
}
|
}
|
||||||
test_results.append(this_test_result)
|
test_results.append(this_test_result)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user