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.9.25.1.tar.gz (61.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: VWS Test Fixtures-2020.9.25.1.tar.gz
  • Upload date:
  • Size: 61.7 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.49.0 CPython/3.8.5

File hashes

Hashes for VWS Test Fixtures-2020.9.25.1.tar.gz
Algorithm Hash digest
SHA256 66dc4ce2fdc6b17716ba709a02bc4c81f695fe4b8564608c2b94e0596fc988bd
MD5 9835399e77481996897bebf6961cde66
BLAKE2b-256 ecfe77406ec62fd4ecf38f08939d32ab20a192ba96a0adc0250cf6b0af7673ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: VWS_Test_Fixtures-2020.9.25.1-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.49.0 CPython/3.8.5

File hashes

Hashes for VWS_Test_Fixtures-2020.9.25.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e35ce86bd7adc4e0c42f82c858c875567cee20d63fd36df04018e42616366f43
MD5 b4604dcb1abcd8d60bebf10423348098
BLAKE2b-256 9c7aa56ebfff7d2ca7490d7a7812de9f98edf90116b4b244ce37e3acd7232e41

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