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)