diff --git a/tests/test_linux.py b/tests/test_linux.py index ff6a4b8..54415a9 100644 --- a/tests/test_linux.py +++ b/tests/test_linux.py @@ -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",