From 9a47aadaa1f2837c8c106b8b0639afe4b9181a11 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Thu, 31 Oct 2024 00:54:10 -0700 Subject: [PATCH] add GLOBAL_DEFAULT_TIMEOUT --- .github/workflows/functional-test.yml | 1 + appium/webdriver/extensions/android/gsm.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index af1dac1e..3e42ab7d 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -29,6 +29,7 @@ jobs: XCODE_VERSION: 15.3 IOS_VERSION: 17.4 IPHONE_MODEL: iPhone 15 Plus + GLOBAL_DEFAULT_TIMEOUT: 300 steps: - uses: actions/checkout@v3 diff --git a/appium/webdriver/extensions/android/gsm.py b/appium/webdriver/extensions/android/gsm.py index 5d5d64d2..ed43d3c6 100644 --- a/appium/webdriver/extensions/android/gsm.py +++ b/appium/webdriver/extensions/android/gsm.py @@ -142,7 +142,6 @@ def set_gsm_voice(self, state: str) -> Self: return self def _add_commands(self) -> None: - # noinspection PyProtectedMember,PyUnresolvedReferences self.command_executor.add_command(Command.MAKE_GSM_CALL, 'POST', '/session/$sessionId/appium/device/gsm_call') self.command_executor.add_command(Command.SET_GSM_SIGNAL, 'POST', '/session/$sessionId/appium/device/gsm_signal') self.command_executor.add_command(Command.SET_GSM_VOICE, 'POST', '/session/$sessionId/appium/device/gsm_voice')