From fc21ec7abd33831f31b0d77eede9d6fe661b197a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Mind=C3=AAllo=20de=20Andrade?= Date: Fri, 12 Jul 2024 14:09:17 +0000 Subject: [PATCH] test: fixed tests after merge --- tests/cli_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/cli_test.py b/tests/cli_test.py index f8b3d71a..79e786f6 100644 --- a/tests/cli_test.py +++ b/tests/cli_test.py @@ -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