Skip to main content

A plugin to use docker databases for pytests

Project description

See Build Status on Travis CI

A plugin to use docker databases for pytests


This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Features

  • TODO

Requirements

  • docker-py>=1.10.6

  • pytest>=3.3.2

Installation

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

$ pip install pytest-docker-db

Usage

Plugin contains one fixture:
docker_db - it’s session scoped and returns a docker-py container object. For almost all use cases

the user will not care about this object.

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, “pytest-docker-db” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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-db-0.1.1a3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pytest_docker_db-0.1.1a3-py3-none-any.whl (4.4 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