From 8ea388ee95868d17fd271fa408e1a092581e0e5f Mon Sep 17 00:00:00 2001 From: mkmer Date: Mon, 18 Sep 2023 11:27:50 +0000 Subject: [PATCH] Clean up: Replace with COMMAND_RESPONSE --- tests/test_sync_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sync_module.py b/tests/test_sync_module.py index fb6f8a88..a0f1a03f 100644 --- a/tests/test_sync_module.py +++ b/tests/test_sync_module.py @@ -369,7 +369,7 @@ async def test_check_no_missing_id_with_update_local_storage_manifest( test_sync.cameras["Back Door"] = MockCamera(self.blink.sync) test_sync.cameras["Front_Door"] = MockCamera(self.blink.sync) mock_poll.return_value = [ - {"network_id": "12345", "id": "54321"}, + COMMAND_RESPONSE, ] test_sync._names_table[to_alphanumeric("Front_Door")] = "Front_Door" test_sync._names_table[to_alphanumeric("Back Door")] = "Back Door" @@ -541,7 +541,7 @@ async def test_local_storage_media_item(self, mock_resp): self.assertEqual( await item.prepare_download(blink, max_retries=1), - {"network_id": "12345", "id": "54321"}, + COMMAND_RESPONSE, ) with mock.patch("blinkpy.api.http_post", return_value=""):