Socket
Socket
Sign inDemoInstall

vws-test-fixtures

Package Overview
Dependencies
21
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vws-test-fixtures

Test fixtures for testing code which works with the Vuforia Web Services (VWS) API


Maintainers
1

Readme

|Build Status| |codecov| |PyPI| |Documentation Status|

VWS Test Fixtures

pytest fixtures for testing tools with the Vuforia Web Services (VWS) API.

Installation

.. code:: sh

pip install vws-test-fixtures

This is tested on Python 3.11+.

Example usage

.. code:: python

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 <https://vws-test-fixtures.readthedocs.io/en/latest>__ for details of all fixtures provided.

Full Documentation

See the full documentation <https://vws-test-fixtures.readthedocs.io/en/latest>__.

.. |Build Status| image:: https://github.com/VWS-Python/vws-test-fixtures/workflows/CI/badge.svg :target: https://github.com/VWS-Python/vws-test-fixtures/actions .. |codecov| image:: https://codecov.io/gh/VWS-Python/vws-test-fixtures/branch/master/graph/badge.svg :target: https://codecov.io/gh/VWS-Python/vws-test-fixtures .. |Documentation Status| image:: https://readthedocs.org/projects/vws-test-fixtures/badge/?version=latest :target: https://vws-test-fixtures.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. |PyPI| image:: https://badge.fury.io/py/VWS-Test-Fixtures.svg :target: https://badge.fury.io/py/VWS-Test-Fixtures

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc