pytest docker fixtures
Project description
Provide various service pytest fixtures.
Install
pip install pytest-docker-fixtures
Usages
In your conftest.py, add the following:
pytest_plugins = [‘pytest_docker_fixtures’]
And to use the fixtures:
- def test_foobar(redis):
pass
Available fixtures
PRs welcome!
redis
etcd
pg(require to be installed with pip install pytest-docker-fixtures[pg])
cockroach(require to be installed with pip install pytest-docker-fixtures[pg])
es
1.1.0 (2018-04-03)
Add Elasticsearch fixture [vangheem]
1.0.1 (2018-03-12)
release
1.0.0 (2018-03-12)
initial release
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
Built Distribution
Close
Hashes for pytest-docker-fixtures-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afde8f5e6a08faf132aaad2a4217019580f689660bd95b4b840954beedc4320 |
|
MD5 | 58f72ec22aa6375ed13de892513e19fc |
|
BLAKE2b-256 | 9ce65ea4472b2761bd45ddb555761430158ad8c86e770c0bdc01075cc95ec12e |
Close
Hashes for pytest_docker_fixtures-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04d7e46fb2f1ac7f43580bfbab69b72a3518fa8ff9019db465d7a13b2692fa8d |
|
MD5 | 5d37ec5910b465f8ee4916d783c47e95 |
|
BLAKE2b-256 | 8aa1d53f87a7d4f0ee0c974661e6e9a84a77c0bce080ea2d931584c11afcf189 |