tests: fix python formatting
This commit is contained in:
+1
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user