From 43812f22805302c63645834efbea77ff90a708fa Mon Sep 17 00:00:00 2001 From: Carolina Lopes <116589288+ccruzagralopes@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:47:45 -0300 Subject: [PATCH] Add await to async function (#59) --- onboarding_payload_test_suite/onboarding_script_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onboarding_payload_test_suite/onboarding_script_support.py b/onboarding_payload_test_suite/onboarding_script_support.py index 252bcf0..88f2575 100644 --- a/onboarding_payload_test_suite/onboarding_script_support.py +++ b/onboarding_payload_test_suite/onboarding_script_support.py @@ -118,7 +118,7 @@ async def chip_tool_parse_onboarding_code(self, code_payload: str) -> ParsedPayl raise PayloadParsingError( f"Error decoding onboarding payload. Error {error}" ) - chip_tool.destroy_device() + await chip_tool.destroy_device() return parsed_payload def create_onboarding_code_payload_prompt(self, code_type: str) -> PromptRequest: