pytest-postgresql icon indicating copy to clipboard operation
pytest-postgresql copied to clipboard

This is a pytest plugin, that enables you to test your code that relies on a running PostgreSQL Database. It allows you to specify fixtures for PostgreSQL process and client.

Results 49 pytest-postgresql issues
Sort by recently updated
recently updated
newest added

### What action do you want to perform Hi, we are wanting to use the postgresql_proc fixture in our test suite and we ran into a few errors. Version 2.4.0...

enhancement
help wanted

### What action do you want to perform install a pytest-postgresq from conda or conda forge ### What are the results there is no pytest-postgresq in conda ### What are...

enhancement

### What action do you want to perform I'm trying to run some postgres tests in a docker CI github action, and I am keeping "no password sent" error. It...

triage

### What action do you want to perform I want to run my tests with postgresql fixture as usual. ### What are the results When I run `pytest`, I get...

### What action do you want to perform Use the the fixture with `with connection.cursor() as cursor:` and `connection.close()` statements ### What are the results Context manager 'postgresql_factory' doesn't implement...

### What action do you want to perform We are running `pytest` under `image: python:3.7-alpine`, with some pre installations: ``` apk update && apk add postgresql-dev gcc libc-dev linux-headers python3-dev...

### What action do you want to perform Since `psycopg` 3 isn't slated to for GA with [SQLAlchemy until their 2.0 release](https://github.com/sqlalchemy/sqlalchemy/issues/6842), most users of SQLAlchemy are still using v1.4...

question

### What action do you want to perform I imagine spinning up and tearing down a database each test function is more expensive than spinning up one for the session...

question
input needed

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.0.0. Changelog Sourced from pytest-cov's changelog. 4.0.0 (2022-09-28) Note that this release drops support for multiprocessing. --cov-fail-under no longer causes pytest --collect-only to fail Contributed...

dependencies
python