test(plausible): psql -q in _register_site — -t does not suppress command tags #9

Merged
autonomic-bot merged 1 commits from test/plausible-psql-quiet into main 2026-06-09 23:12:38 +00:00

View File

@ -59,7 +59,7 @@ def _register_site(domain: str, site: str) -> None:
f"SELECT domain FROM sites WHERE domain = '{site}';"
)
out = lifecycle.exec_in_app(
domain, ["psql", "-U", "plausible", "-d", "plausible", "-tAc", sql], service="db"
domain, ["psql", "-q", "-U", "plausible", "-d", "plausible", "-tAc", sql], service="db"
).strip()
assert out == site, f"site {site!r} not registered in postgres (got {out!r})"