Skip to content

Commit

Permalink
Merge pull request #838 from mkmer/Fix-never-await-warnings
Browse files Browse the repository at this point in the history
Address not awaited warning
  • Loading branch information
fronzbot authored Jan 2, 2024
2 parents 0849f63 + 72ca60b commit 8e4678a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_camera_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}


@mock.patch("blinkpy.auth.Auth.query")
@mock.patch("blinkpy.auth.Auth.query", return_value={})
class TestBlinkCameraSetup(IsolatedAsyncioTestCase):
"""Test the Blink class in blinkpy."""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cameras.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}


@mock.patch("blinkpy.auth.Auth.query")
@mock.patch("blinkpy.auth.Auth.query", return_value={})
class TestBlinkCameraSetup(IsolatedAsyncioTestCase):
"""Test the Blink class in blinkpy."""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_sync_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
_LOGGER.setLevel(logging.DEBUG)


@mock.patch("blinkpy.auth.Auth.query")
@mock.patch("blinkpy.auth.Auth.query", return_value={"status": 200})
class TestBlinkSyncModule(IsolatedAsyncioTestCase):
"""Test BlinkSyncModule functions in blinkpy."""

Expand Down

0 comments on commit 8e4678a

Please sign in to comment.