GithubHelp home page GithubHelp logo

vws-test-fixtures's Introduction

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

Example usage

import io

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

vws-test-fixtures's People

Contributors

adamtheturtle avatar dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar pre-commit-ci-lite[bot] avatar pyup-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

vws-test-fixtures's Issues

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.