Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a228eb6 authored by Jack He's avatar Jack He
Browse files

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
parent 6fe7fff8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment