Sitelet https://github.com/appium/python-client/pull/1095
Skip to content

test: Move app_test.py to pytest style - #1095

Merged
KazuCocoa merged 1 commit into
appium:masterfrom
Dor-bl:app_test_refactor
Feb 14, 2025
Merged

KazuCocoa merged 1 commit into
appium:masterfrom
Dor-bl:app_test_refactor

Conversation

@Dor-bl

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

Copy link
Copy Markdown
Contributor

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

Partly address #644

from test.unit.helper.test_helper import android_w3c_driver, appium_command, get_httpretty_request_body, ios_w3c_driver


class TestWebDriverAppAndroid(object):

Copy link
Copy Markdown
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
@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