Merge pull request 'test(system-identity): compare the identity's keys only' (#82) from chore/identity-test-keys into main
driver / standard (push) Successful in 18s
driver / lint (push) Successful in 14s
driver / test (3.12) (push) Successful in 1m6s
driver / types (push) Successful in 1m12s
driver / test (3.13) (push) Successful in 58s
driver / lowest (push) Successful in 28s
driver / build (push) Successful in 30s
driver / security (push) Successful in 1m7s
CI / driver (push) Successful in 2m48s
driver / publish (push) Skipped
driver / standard (push) Successful in 18s
driver / lint (push) Successful in 14s
driver / test (3.12) (push) Successful in 1m6s
driver / types (push) Successful in 1m12s
driver / test (3.13) (push) Successful in 58s
driver / lowest (push) Successful in 28s
driver / build (push) Successful in 30s
driver / security (push) Successful in 1m7s
CI / driver (push) Successful in 2m48s
driver / publish (push) Skipped
This commit was merged in pull request #82.
This commit is contained in:
commit
647a5cc857
1 file changed
+2
-1
+2
-1
@@ -2033,7 +2033,8 @@ class TestGetSystemIdentity:
|
||||
|
||||
identity = driver.get_system_identity()
|
||||
|
||||
assert identity == {
|
||||
# The identity's keys only: napalm-device-types reads more in the same round trip.
|
||||
assert {k: identity[k] for k in ("system_uuid", "product_serial", "board_serial")} == {
|
||||
"system_uuid": "31303043-534d-c40c-7a72-6f1300000000",
|
||||
"product_serial": "", # Supermicro's placeholder
|
||||
"board_serial": "ZM155S026022",
|
||||
|
||||
Reference in new issue
Block a user