A plugin to pytest stoq
Project description
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
Command-line options
--skip-db-setup: pytest-stoq won’t setup the database (in case you’re using a ready test database)
--extra-plugins: extra plugins to enable
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-stoq-0.2.0.tar.gz
.
File metadata
- Download URL: pytest-stoq-0.2.0.tar.gz
- Upload date:
- Size: 15.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 679ad3d1b24812edd637553b4d3e8206605cc1a4cfebf569ad98054f0b458473 |
|
MD5 | 6d0aa22b7b8881998862613dfd4e886a |
|
BLAKE2b-256 | 1effa6374068730d40000ec0a3aba362a9747b9dd1622e406ea840aa7b5b8ade |