From cacc3971621ed6d91cdf954eac8bcf57c396cae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 25 Oct 2020 19:11:08 +0100 Subject: [PATCH] Remove dependencies pinning (#23) * Remove dependencies pinning * Fix a test --- bite/telemetry/tests.py | 3 ++- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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