Authentication and authorization tools for interacting 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.10+.
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-2021.11.5.1.tar.gz
.
File metadata
- Download URL: VWS Test Fixtures-2021.11.5.1.tar.gz
- Upload date:
- Size: 61.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9199e4096e687d2325fc06bf72ed1e4e8481cb089ffa5a9e8a198c83c02e9af5 |
|
MD5 | 3d1bbad7707070e6e6c5120d877fcc5f |
|
BLAKE2b-256 | 472bd11064b7e60a6435059863b287b90227ef202c645768fe2d00ffa0f130ad |
File details
Details for the file VWS_Test_Fixtures-2021.11.5.1-py3-none-any.whl
.
File metadata
- Download URL: VWS_Test_Fixtures-2021.11.5.1-py3-none-any.whl
- Upload date:
- Size: 48.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae39c20e7d0e53ae96e794e315d618a4116727af64879a04f0cd9c751c018b77 |
|
MD5 | f8e2ab736023bb468c8ffe9339b66ff3 |
|
BLAKE2b-256 | 36df0e479227dbf9ecfae1d1fd37b7ddf0acba6fa5db0518eff87e2083193d38 |