diff --git a/bite/telemetry/tests.py b/bite/telemetry/tests.py index 9da002f..f26bb1b 100644 --- a/bite/telemetry/tests.py +++ b/bite/telemetry/tests.py @@ -69,4 +69,5 @@ class ApiTestCase(TestCase): self.assertEqual( response.json()['transport'], 'http') self.assertJSONEqual( - response.json()['payload'], self.payload) + json.dumps(response.json()['payload']), + json.dumps(self.payload)) diff --git a/requirements.txt b/requirements.txt index 2b4c38d..0de5e34 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,8 +2,8 @@ Django djangorestframework django-health-check psycopg2-binary -paho-mqtt==1.5.0 -asyncio-mqtt==0.5.0 +paho-mqtt +asyncio-mqtt PyYAML uritemplate pygments