Skip to content

Commit

Permalink
test: fixed tests after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rokam committed Jul 12, 2024
1 parent deb682f commit fc21ec7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@ async def test_discover(self) -> None:
),
):
mock_discover.return_value = {1: mock_device}
mock_cloud_instance.get_keys.return_value = {
mock_cloud_instance.get_cloud_keys.return_value = {
0: {"token": "token", "key": "key"},
}
mock_cloud_instance.get_default_keys.return_value = {
99: {"token": "token", "key": "key"},
}

await self.cli.discover() # V3 device

Expand Down

0 comments on commit fc21ec7

Please sign in to comment.