Test fixtures for testing code which works with the Vuforia Web Services (VWS) API
Project description
VWS Test Fixtures
pytest fixtures for testing tools with the Vuforia Web Services (VWS) API.
Installation
pip install vws-test-fixtures
This is tested on Python 3.11+.
Example usage
# A test to be run by pytest
def test_example(high_quality_image: io.BytesIO) -> None:
image_file_bytes = high_quality_image.getvalue()
...
high_quality_image returns an image file which is expected to have a ‘success’ status when added to a target, and a high tracking rating.
image_file_failed_state is expected to be accepted by the add and update target endpoints, but get a “failed” status.
png_too_large is a PNG which has dimensions whcih are too large to be added to a Vuforia database.
… and more, see the full documentation for details of all fixtures provided.
Full Documentation
See the full documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vws-test-fixtures-2023.3.5.tar.gz
.
File metadata
- Download URL: vws-test-fixtures-2023.3.5.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9baafb6fc8cd63338ee9c2b7c70876e6b33c6eb85edf7c4e8e88d9ab25467c |
|
MD5 | 2d2b4035c2248f92e52730b031a18bce |
|
BLAKE2b-256 | ebf2db267b21f32539d78aae06add3b31fa1e562a00a5b7d0aa1d0ee18aaadf9 |
File details
Details for the file vws_test_fixtures-2023.3.5-py2.py3-none-any.whl
.
File metadata
- Download URL: vws_test_fixtures-2023.3.5-py2.py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9f6a6be8e31bdd3ae4f290e7dea6637dc213a2da4c59d0cb6051c2054dee9f |
|
MD5 | efe0d4ef1d3b2dfada532cc0e63e4196 |
|
BLAKE2b-256 | 7f40e50b6c31637dfb41b13ffc41c799f210aa0fbb56853d32fee8cdfd8d9712 |