Metadata-Version: 2.4
Name: pytest-pogo
Version: 0.2.0
Summary: Pytest plugin for pogo-migrate
Project-URL: homepage, https://github.com/NRWLDev/pytest-pogo
Author-email: Daniel Edgecombe <daniel@nrwl.co>
Maintainer-email: Daniel Edgecombe <daniel@nrwl.co>
License-Expression: Apache-2.0
Keywords: asyncpg,database,migrate,migrations,pytest
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Version Control
Requires-Python: >=3.10
Requires-Dist: pogo-migrate>=0.4.1
Requires-Dist: pytest>=7
Provides-Extra: dev
Requires-Dist: asyncpg>=0.31.0; extra == 'dev'
Requires-Dist: changelog-gen>=0.13; extra == 'dev'
Requires-Dist: pre-commit>=3.7.1; extra == 'dev'
Requires-Dist: pytest-asyncio>=1.3.0; extra == 'dev'
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
Requires-Dist: pytest-env>=0.8.1; extra == 'dev'
Requires-Dist: pytest-random-order>=1.2.0; extra == 'dev'
Requires-Dist: ruff>=0.14.10; extra == 'dev'
Description-Content-Type: text/markdown

# Pytest plugin for Pogo migrate - asyncpg migration tooling
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![image](https://img.shields.io/pypi/v/pytest-pogo.svg)](https://pypi.org/project/pytest-pogo/)
[![image](https://img.shields.io/pypi/l/pytest-pogo.svg)](https://pypi.org/project/pytest-pogo/)
[![image](https://img.shields.io/pypi/pyversions/pytest-pogo.svg)](https://pypi.org/project/pytest-pogo/)
![style](https://github.com/NRWLDev/pytest-pogo/actions/workflows/style.yml/badge.svg)
![tests](https://github.com/NRWLDev/pytest-pogo/actions/workflows/tests.yml/badge.svg)
[![codecov](https://codecov.io/gh/NRWLDev/pytest-pogo/branch/main/graph/badge.svg)](https://codecov.io/gh/NRWLDev/pytest-pogo)


Provides `pogo_engine` fixture which will apply local migrations at the start
of the test session, and roll them back at the end.

Additionally `pytest-pogo` honours pytests `-v/--verbose` flags to increase log
verbosity, if migrations don't appear to be applying correctly, this will
capture more verbose logs.
