Skip to content

Commit c60b5d4

Browse files
committed
Add some extra fields that now appear in MyNodeInfo to tests
1 parent 83d82c5 commit c60b5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshtastic/tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def test_active_ports_on_supported_devices_mac_duplicates_check(mock_platform, m
563563
def test_message_to_json_shows_all():
564564
"""Test that message_to_json prints fields that aren't included in data passed in"""
565565
actual = json.loads(message_to_json(mesh_pb2.MyNodeInfo()))
566-
expected = { "myNodeNum": 0, "rebootCount": 0, "minAppVersion": 0, "deviceId": "", "pioEnv": "" }
566+
expected = { "myNodeNum": 0, "rebootCount": 0, "minAppVersion": 0, "deviceId": "", "pioEnv": "", 'firmwareEdition': 'VANILLA', 'nodedbCount': 0 }
567567
assert actual == expected
568568

569569
@pytest.mark.unit

0 commit comments

Comments
 (0)