Skip to main content

A plugin to pytest stoq

Project description

PyPI version Python versions

A plugin to pytest stoq.

This plugin automatically set up the stoq test environment. It also provide a range of fixtures to ease the testing of stoq-related projects.

Installation

You can install “pytest-stoq” via pip from PyPI:

$ pip install pytest-stoq

Fixtures

The plugin provides the following fixtures:

  • store: an instance of storm’s (ORM) store used to access the database

  • example_creator: instance creates (inserts) database objects with example/test data

  • current_station

  • current_user

  • current_branch

License

Distributed under the terms of the GNU GPL v3.0 license, “pytest-stoq” is free and open source software

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

pytest-stoq-0.1.0.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file pytest-stoq-0.1.0.tar.gz.

File metadata

  • Download URL: pytest-stoq-0.1.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for pytest-stoq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ee187c5ec3a788f9be6d83ae3cdf214db346fb762b917691059056ec8728969
MD5 7db259fffe4b411792b53989c644485b
BLAKE2b-256 fb590bceb79e5da2f6f73d6f0d7577a39c1c2d5ae60f7621d61b141b176482a2

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