Skip to content

Commit

Permalink
Fix conevrter test
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Mar 11, 2020
1 parent 3e25add commit 3d0e7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thingsboard_gateway/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_getting_attributes(self):
"deviceName": "SensorA",
"deviceType": "temperature-sensor",
"attributes": [{"model":"T1000"}],
"telemetry": [{"temperature": '42.0'}]
"telemetry": [{"temperature": 42.0}]
}
result = JsonMqttUplinkConverter(test_config).convert(test_topic, test_body_to_convert)
self.assertDictEqual(result,test_result)
Expand Down

0 comments on commit 3d0e7e1

Please sign in to comment.