Skip to main content

pytest-u2device

Pytest plugin for exposing uiautomator2 Android devices as fixtures.

Install

uv add pytest-u2device

Usage

Without explicit devices, the plugin exposes a default d fixture:

def test_default_device(d):
    assert d.device_info

Register named fixtures with --device NAME:SERIAL:

uv run pytest --device phone:emulator-5554 --device tablet:127.0.0.1:16384
def test_multi_device(phone, tablet):
    assert phone.device_info
    assert tablet.device_info

Metadata

Release files for pytest-u2device 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-u2device 0.1.0
File Size Uploaded Provenance
pytest_u2device-0.1.0.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-u2device 0.1.0
File Interpreter ABI Platform
pytest_u2device-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / pytest_u2device-0.1.0.tar.gz

Download URL pytest_u2device-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
119f24dfecba4d2b916d49df5f2e5a18286b2118ec5c50bde91ed2201b2b6ae1
BLAKE2b-256 checksum
How to use checksums
72a702aa6ff70cfa53c9910a02ad5ff098bdc95933fe25a5a6feddc68814f942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pytest_u2device-0.1.0-py3-none-any.whl

Download URL pytest_u2device-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc3130d890a132aa829a0c62f0345f1661e5ca4ba022d83ebcfcaea677116d64
BLAKE2b-256 checksum
How to use checksums
a40f5be176b86da500192d3782a34e89ea949c7c267a5d967bd910b0ce1086df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pytest-u2device 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page