Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmer committed Jan 8, 2024
1 parent c6769c1 commit 7be1580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_cameras.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def test_missing_attributes(self, mock_resp):
self.assertEqual(attr["serial"], None)
self.assertEqual(attr["temperature"], None)
self.assertEqual(attr["temperature_c"], None)
self.assertEqual(attr["version"],None)
self.assertEqual(self.camera.version,None)
self.assertEqual(attr["version"], None)
self.assertEqual(self.camera.version, None)

def test_mini_missing_attributes(self, mock_resp):
"""Test that attributes return None if missing."""
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 @@ -128,7 +128,7 @@ async def test_get_camera_info(self, mock_resp) -> None:
self.assertEqual(
await self.blink.sync["test"].get_camera_info("1234"), "foobar"
)
self.assertEqual(self.blink.sync["test"].version,None)
self.assertEqual(self.blink.sync["test"].version, None)

async def test_get_camera_info_fail(self, mock_resp) -> None:
"""Test handling of failed get camera info function."""
Expand Down

0 comments on commit 7be1580

Please sign in to comment.