Skip to main content

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])

1.0.1 (2018-03-12)

  • release

1.0.0 (2018-03-12)

  • initial release

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-docker-fixtures-1.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_docker_fixtures-1.0.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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