Skip to content

Commit 540908e

Browse files
taimoorzaeemsteve-chavez
authored andcommitted
test: clean test_role_settings in io-tests
1 parent 89eae60 commit 540908e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/io/test_io.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,12 @@ def test_role_settings(defaultenv):
10011001
)
10021002
assert response.text == '"10s"'
10031003

1004+
# reset statement timeout to original value
1005+
response = postgrest.session.post(
1006+
"/rpc/change_role_statement_timeout", data={"timeout": "2s"}
1007+
)
1008+
assert response.status_code == 204
1009+
10041010

10051011
def test_isolation_level(defaultenv):
10061012
"isolation_level should be set per role and per function"

0 commit comments

Comments
 (0)