From 6ac6b5ef357d61d4ed2d97c1d825ee8397a0f47f Mon Sep 17 00:00:00 2001 From: Jussi Vatjus-Anttila Date: Tue, 5 Aug 2025 08:03:36 +0300 Subject: [PATCH] drop duplicate remote_connect call seems that remote_connect() was called twice in allocation_context even one should be enough. --- stf_appium_client/StfClient.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stf_appium_client/StfClient.py b/stf_appium_client/StfClient.py index 4812c8e..106d16e 100644 --- a/stf_appium_client/StfClient.py +++ b/stf_appium_client/StfClient.py @@ -284,6 +284,5 @@ def allocation_context(self, requirements: dict, self.logger.info(f'device allocated: {device}') adb_adr = self.remote_connect(device) device['remote_adb_url'] = adb_adr - self.remote_connect(device) yield device self.release(device)