test: clean test_role_settings in io-tests

This commit is contained in:
Taimoor Zaeem
2024-05-21 19:50:03 -05:00
committed by Steve Chavez
parent 1ca5b6f6ba
commit a1582a6136
+6
View File
@@ -1001,6 +1001,12 @@ def test_role_settings(defaultenv):
)
assert response.text == '"10s"'
# reset statement timeout to original value
response = postgrest.session.post(
"/rpc/change_role_statement_timeout", data={"timeout": "2s"}
)
assert response.status_code == 204
def test_isolation_level(defaultenv):
"isolation_level should be set per role and per function"