aports/testing/py3-pytest-postgresql/parser_set-pgctl-location-to-bin.patch
2024-06-09 10:10:42 +00:00

14 lines
677 B
Diff

diff --git a/pytest_postgresql/plugin.py.orig b/pytest_postgresql/plugin.py
index d4e0a1d90ee..7e66df278bb 100644
--- a/pytest_postgresql/plugin.py.orig
+++ b/pytest_postgresql/plugin.py
@@ -38,7 +38,7 @@ _help_postgres_options = "Postgres executable extra parameters. Passed via the -
def pytest_addoption(parser: Parser) -> None:
"""Configure options for pytest-postgresql."""
parser.addini(
- name="postgresql_exec", help=_help_executable, default="/usr/lib/postgresql/13/bin/pg_ctl"
+ name="postgresql_exec", help=_help_executable, default="/usr/bin/pg_ctl"
)
parser.addini(name="postgresql_host", help=_help_host, default="127.0.0.1")