Skip to main content

Authentication and authorization tools for interacting with the Vuforia Web Services (VWS) API.

Project description

Build Status codecov Updates PyPI Documentation Status

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.8+.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for VWS-Test-Fixtures, version 2019.12.13.1
Filename, size File type Python version Upload date Hashes
Filename, size VWS_Test_Fixtures-2019.12.13.1-py2.py3-none-any.whl (49.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size VWS Test Fixtures-2019.12.13.1.tar.gz (66.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page