diff --git a/meshtastic/tests/test_util.py b/meshtastic/tests/test_util.py index 0124ba6..ab45721 100644 --- a/meshtastic/tests/test_util.py +++ b/meshtastic/tests/test_util.py @@ -556,7 +556,7 @@ def test_active_ports_on_supported_devices_mac_duplicates_check(mock_platform, m def test_message_to_json_shows_all(): """Test that message_to_json prints fields that aren't included in data passed in""" actual = json.loads(message_to_json(mesh_pb2.MyNodeInfo())) - expected = { "myNodeNum": 0, "rebootCount": 0, "minAppVersion": 0 } + expected = { "myNodeNum": 0, "rebootCount": 0, "minAppVersion": 0, "deviceId": "", "pioEnv": "" } assert actual == expected @pytest.mark.unit