Compare commits
1 Commits
fix/conver
...
test/plaus
| Author | SHA1 | Date | |
|---|---|---|---|
| 79c652ddd3 |
@ -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})"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user