Skip to main content

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

Project description

Build Status codecov 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.

Source Distribution

VWS Test Fixtures-2020.8.2.0.tar.gz (61.8 kB view details)

Uploaded Source

Built Distribution

VWS_Test_Fixtures-2020.8.2.0-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

Details for the file VWS Test Fixtures-2020.8.2.0.tar.gz.

File metadata

  • Download URL: VWS Test Fixtures-2020.8.2.0.tar.gz
  • Upload date:
  • Size: 61.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for VWS Test Fixtures-2020.8.2.0.tar.gz
Algorithm Hash digest
SHA256 8adfc5a81b5fb1846bbf4237791858cfb17f32ebfae52db3c1b7f818c9cb5859
MD5 18662de5f5fd187c740df5efe90616ed
BLAKE2b-256 a71ce86246f68e7105ec2f3a03e3be02f2c28adc6bb90e2bdec9370bcaad2b03

See more details on using hashes here.

File details

Details for the file VWS_Test_Fixtures-2020.8.2.0-py3-none-any.whl.

File metadata

  • Download URL: VWS_Test_Fixtures-2020.8.2.0-py3-none-any.whl
  • Upload date:
  • Size: 48.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for VWS_Test_Fixtures-2020.8.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf6cd21424530473c4d1de91d284a6620dfdd3d45e899bd41af7909fef7e6477
MD5 a356e6e66170dc7795adc264cfde184d
BLAKE2b-256 661d69709f78dad1f170386e640b356269d764104a05fd864f8a52ccb8fd07e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page