tests: fix python formatting

This commit is contained in:
Robert Vollmert
2022-08-02 09:24:14 +02:00
committed by Robert
parent fd7c23f7a1
commit e7b69cb99c
+1 -2
View File
@@ -840,8 +840,7 @@ def set_statement_timeout(postgrest, role, milliseconds):
use a postgrest instance that doesn't use the affected role.""" use a postgrest instance that doesn't use the affected role."""
response = postgrest.session.post( response = postgrest.session.post(
"/rpc/set_statement_timeout", "/rpc/set_statement_timeout", data={"role": role, "milliseconds": milliseconds}
data={"role": role, "milliseconds": milliseconds}
) )
assert response.status_code == 204 assert response.status_code == 204