Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Move app_test.py to pytest style #1095

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

Dor-bl
Copy link
Contributor

@Dor-bl Dor-bl commented Feb 13, 2025

use pytest without class-based structures, using parameterization for better reusability.

Partly address #644


from appium.webdriver.applicationstate import ApplicationState
from appium.webdriver.webdriver import WebDriver
from test.unit.helper.test_helper import android_w3c_driver, appium_command, get_httpretty_request_body, ios_w3c_driver


class TestWebDriverAppAndroid(object):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially thought just removing object for example, but this is also ok.

@KazuCocoa KazuCocoa merged commit c2732dd into appium:master Feb 14, 2025
11 checks passed
@Dor-bl Dor-bl deleted the app_test_refactor branch February 14, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants