Skip to content

Commit

Permalink
Clean up: Replace with COMMAND_RESPONSE
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmer committed Sep 18, 2023
1 parent 5e87d66 commit 8ea388e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_sync_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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=""):
Expand Down

0 comments on commit 8ea388e

Please sign in to comment.