Generate a TD command that asserts that a query does not fail.
(query: str)
| 76 | |
| 77 | |
| 78 | def query_ok(query: str) -> str: |
| 79 | """Generate a TD command that asserts that a query does not fail.""" |
| 80 | return "\n".join( |
| 81 | [ |
| 82 | "$ postgres-execute connection=user", |
| 83 | query.strip(), |
| 84 | ] |
| 85 | ) |
| 86 | |
| 87 | |
| 88 | def alter_system_set(name: str, value: str) -> str: |