Skip to content

Commit 19c3ab5

Browse files
kempspowendigo
authored andcommitted
update tests
1 parent a88c17e commit 19c3ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def assert_headers(headers):
135135
assert headers[constants.HEADER_SESSION] == ""
136136
assert headers[constants.HEADER_TRANSACTION] is None
137137
assert headers[constants.HEADER_TIMEZONE] == timezone
138-
assert headers[constants.HEADER_CLIENT_CAPABILITIES] == "PARAMETRIC_DATETIME"
138+
assert headers[constants.HEADER_CLIENT_CAPABILITIES] == "PARAMETRIC_DATETIME,SESSION_AUTHORIZATION"
139139
assert headers[accept_encoding_header] == accept_encoding_value
140140
assert headers[client_info_header] == client_info_value
141141
assert headers[constants.HEADER_ROLE] == (
@@ -1173,7 +1173,7 @@ def json(self):
11731173
sql = 'execute my_stament using 1, 2, 3'
11741174
additional_headers = {
11751175
constants.HEADER_PREPARED_STATEMENT: 'my_statement=added_prepare_statement_header',
1176-
constants.HEADER_CLIENT_CAPABILITIES: 'PARAMETRIC_DATETIME'
1176+
constants.HEADER_CLIENT_CAPABILITIES: 'PARAMETRIC_DATETIME,SESSION_AUTHORIZATION'
11771177
}
11781178

11791179
# Patch the post function to avoid making the requests, as well as to

0 commit comments

Comments
 (0)