From f44ee0cd39a92b5e436bc24b93ded843ebf5a853 Mon Sep 17 00:00:00 2001 From: jordanbangia Date: Thu, 31 Aug 2023 13:04:33 +0000 Subject: [PATCH] Fix tests --- tests/test_attachments.py | 4 ---- tests/test_client.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_attachments.py b/tests/test_attachments.py index fda734e..3c71f1d 100644 --- a/tests/test_attachments.py +++ b/tests/test_attachments.py @@ -53,10 +53,6 @@ def test_get_attachments(): "recording_id": recording_id, "site_id": site_id, "name": path, - "device": { - "id": device_id, - "name": device_name, - }, "media_type": media_type, "size": size, "crc": crc, diff --git a/tests/test_client.py b/tests/test_client.py index 09561ec..3ce7137 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -89,7 +89,7 @@ def test_get_recording_attachments(): "recordingId": "test_recording", "siteId": "test_site", "name": "name", - "mediateType": "json", + "mediaType": "json", "size": 5, "crc": "test_crc", "fingerprint": "test_fingerprint",