Skip to content

Commit 9a3c1ae

Browse files
committed
tests: unit: mqtt: fix missing alerts null field
1 parent de84de1 commit 9a3c1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_mqtt/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def test_publish_telemetry(self, fake):
1717
)
1818
mock_client.publish.assert_called_once_with(
1919
f"v1/from/{hardware_id}/{channel_id}/v1/telemetry",
20-
'{"timestamp": ' + str(timestamp) + "}",
20+
'{"timestamp": ' + str(timestamp) + ', "alerts": null}',
2121
)
2222

2323
async def test_publish_properties(self, fake):

0 commit comments

Comments
 (0)