Skip to main content

A tiny plugin for pytest which runs PostgreSQL in Docker

Project description

pytest-pg

v0.0.22 (2025-04-03)

  • Override docker host with env variable

v0.0.17 (2024-04-03)

  • Override docker host with env variable

v0.0.15 (2023-05-04)

v0.0.14 (2022-09-19)

  • Disable jit by default
  • Set bgwriter_lru_maxpages

v0.0.12 (2022-01-18)

  • Ditch logging because it seems to be useless

v0.0.11 (2022-01-09)

  • Move volume to tmpfs

v0.0.10 (2022-01-08)

  • Volumes used to remain after running test consuming disk space

v0.0.9 (2021-12-28)

  • Disable fsync, full_page_writes, synchronous_commit to speedup the tests

v0.0.8 (2021-12-26)

  • Add typing marker, mypy. Run tests in CI

v0.0.7 (2021-12-25)

  • Fix is_ready based on psycopg2

v0.0.6 (2021-12-25)

  • Add all recent major versions of PG

v0.0.4 (2021-12-10)

  • Fix is_postgres_ready usage

v0.0.3 (2021-12-10)

  • Fix uuid generation

v0.0.2 (2021-12-10)

  • Follow pytest guide for plugins

v0.0.1 (2021-12-10)

  • A first version

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_pg-0.0.22.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

pytest_pg-0.0.22-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file pytest_pg-0.0.22.tar.gz.

File metadata

  • Download URL: pytest_pg-0.0.22.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pytest_pg-0.0.22.tar.gz
Algorithm Hash digest
SHA256 bf9fe05a3cb6971f51993db996d506a8581c81c065929d8412fbb72741188372
MD5 70105534277298712bd42f183e389103
BLAKE2b-256 73ef2b2d294a870a50b40b13f2fb35119aca15b2d1494a7d7a57356cf6960ea5

See more details on using hashes here.

File details

Details for the file pytest_pg-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: pytest_pg-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pytest_pg-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 196d572568843987a978dde2ccf64a38f737ce951ed0e2f1764f05832e938ee4
MD5 ae7165995addfa7d20cc8dcb89e00631
BLAKE2b-256 b63d8e103189cb9cf56abf55e4a1cc8720b337d448bd7dd1e4d0bbd10668810f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page