Cert: Use acts.test_decorators.test_info to log metadata
* Use acts.test_decorators.test_info in @metadata so that we can save
the metdata in the same "Record" as the test result as key-value
information in the "Extras" field
* Added pts_test_name along side pts_test_id
* Update unit tests to match new library
* Sample output:
Type: Record
Test Name: test_basic_operation_request_connection
Test Class: L2capTest
Begin Time: 1585813049043
End Time: 1585813052971
Log Begin Time: '2020-04-02 00:37:29.43'
Log End Time: '2020-04-02 00:37:32.971'
Result: PASS
UID: null
Extras:
pts_test_id: L2CAP/COS/CED/BV-01-C
pts_test_name: Request Connection
Bug: 152828141
Test: source gd/cert/run --host
Change-Id: I8c99fa08b991d042df3c60803c607907e508fc80
Loading
Please register or sign in to comment