Metadata-Version: 2.1
Name: pytest-fauna
Version: 2.0.0
Summary: A collection of helpful test fixtures for Fauna DB.
Home-page: https://gitlab.com/munipal-oss/pytest-fauna
License: MIT
Author: Ryan Causey
Author-email: ryan.causey@munipal.io
Requires-Python: >=3.10,<4.0
Classifier: Framework :: Pytest
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: aws
Provides-Extra: fluctuate
Requires-Dist: fauna (>=2.0.0,<3.0.0)
Requires-Dist: fluctuate (>=3.0.0,<4.0.0) ; extra == "fluctuate"
Requires-Dist: pytest-aws-fixtures (>=1.2.0,<2.0.0) ; extra == "aws"
Requires-Dist: python-decouple (>=3.8,<4.0)
Project-URL: Repository, https://gitlab.com/munipal-oss/pytest-fauna
Description-Content-Type: text/markdown

# pytest-fauna

pytest-fauna contains some helpful [pytest] fixtures for [Fauna DB].

# Table of contents

[[_TOC_]]

# Installation

Install with the usual [Python] package manager. Here's an example with [pip]:

```bash
pip install pytest-fauna
```

If you would like to use the [AWS SecretsManager] integration for retrieval of the fauna
secret key, you will need to install the `aws` extra. Here's an example with [pip]:

```bash
pip install pytest-fauna[aws]
```

If you are using [Fluctuate] and want to use the fixtures that automatically apply
migrations, you will need to install the `fluctuate` extra. Here's an example with
[pip]:

```bash
pip install pytest-fauna[fluctuate]
```

# Fixtures

Please see the [plugin.py] file for details on the available fixtures.

[Fauna DB]: https://docs.fauna.com/fauna/current/
[pytest]: https://docs.pytest.org/en/stable/
[Python]: https://www.python.org/
[pip]: https://pip.pypa.io/en/stable/
[AWS SecretsManager]: https://docs.aws.amazon.com/secretsmanager/
[plugin.py]: pytest_fauna/plugin.py
[Fluctuate]: https://gitlab.com/munipal-oss/fluctuate

