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


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

Uploaded Source

Built Distribution

VWS_Test_Fixtures-2022.1.3-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: VWS Test Fixtures-2022.1.3.tar.gz
  • Upload date:
  • Size: 60.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for VWS Test Fixtures-2022.1.3.tar.gz
Algorithm Hash digest
SHA256 823190494523ddea088ed3c40766648fa358d76eebaa10f4abd7de071a4596e9
MD5 deb0bcd5ec4fc02b52d1198fba22ca80
BLAKE2b-256 320a9b7ba74939d542bf0020ed6db5f38f6747ea0b170ef9c603ba5e5c853a0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: VWS_Test_Fixtures-2022.1.3-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for VWS_Test_Fixtures-2022.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 223fc30bef8bfd1e467b0adb48a7b638c67036969e334e7c33b88c4f812dd282
MD5 16af1cafcd4469dfb8858761e1e6e316
BLAKE2b-256 2259b94830cc10c4d7efd07b282edb4e13c65b514dc5e1b9947f91ab6ffabd2b

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