From 60dfb090a9f72b0fface53679083a4c2f2c6aa2b Mon Sep 17 00:00:00 2001 From: Bilal Awan Date: Mon, 9 Oct 2023 13:34:44 +0500 Subject: [PATCH] fix: pylint issues --- tests/android/tests/test_android_edit_profile.py | 1 - tests/android/tests/test_android_profile_options.py | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/android/tests/test_android_edit_profile.py b/tests/android/tests/test_android_edit_profile.py index d0acca46..b4871c21 100644 --- a/tests/android/tests/test_android_edit_profile.py +++ b/tests/android/tests/test_android_edit_profile.py @@ -38,7 +38,6 @@ def test_ui_elements_smoke(self, set_capabilities, setup_logging): global_contents = Globals(setup_logging) android_main_dashboard_page = AndroidMainDashboard(set_capabilities, setup_logging) - android_profile_screen = AndroidProfile(set_capabilities, setup_logging) edit_profile_screen = AndroidEditProfile(set_capabilities, setup_logging) profile_options_page = AndroidProfileOptions(set_capabilities, setup_logging) diff --git a/tests/android/tests/test_android_profile_options.py b/tests/android/tests/test_android_profile_options.py index c9b393a0..18cc8f13 100644 --- a/tests/android/tests/test_android_profile_options.py +++ b/tests/android/tests/test_android_profile_options.py @@ -231,12 +231,12 @@ def test_validate_help_cell_elements(self, set_capabilities, setup_logging): """ global_contents = Globals(setup_logging) - profile_options_page = AndroidProfileOptions(set_capabilities, setup_logging) help_cell = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_help_cell) assert help_cell.text == strings.PROFILE_OPTIONS_HELP_CELL_TITLE - submit_feedback_label = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_submit_feedback) + submit_feedback_label = global_contents.get_element_by_id( + set_capabilities, android_elements.profile_options_submit_feedback) assert submit_feedback_label.text == strings.PROFILE_OPTIONS_FEEDBACK_LABEL support_subtitle = global_contents.get_element_by_id( @@ -251,7 +251,8 @@ def test_validate_help_cell_elements(self, set_capabilities, setup_logging): set_capabilities, android_elements.profile_options_privacy_policy) global_contents.scroll_from_element(set_capabilities, privacy_policy) - get_support_label = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_get_support) + get_support_label = global_contents.get_element_by_id( + set_capabilities, android_elements.profile_options_get_support) assert get_support_label.text == strings.PROFILE_OPTIONS_SUPPORT_LABEL get_support_description = global_contents.get_element_by_id( @@ -290,7 +291,8 @@ def test_validate_signout_and_delete_cell_elements(self, set_capabilities, setup set_capabilities, android_elements.profile_options_delete_account_button) assert delete_account_button.text == strings.PROFILE_OPTIONS_DELETE_ACCOUNT_BUTTON - delete_account_instructions = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_delete_description) + delete_account_instructions = global_contents.get_element_by_id( + set_capabilities, android_elements.profile_options_delete_description) assert delete_account_instructions.text == strings.PROFILE_OPTIONS_DELETE_INFO_LABEL delete_account_button.click()