Skip to content

Commit a74b9e3

Browse files
committed
docs: case sensitivity in the test's query string
1 parent a018635 commit a74b9e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_request_option.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ def test_filtering_parameters(self) -> None:
325325
opts.parameter("vf_Parameters.name4", "value4")
326326
opts.page_type = TSC.PDFRequestOptions.PageType.Tabloid
327327

328+
# While Tableau Server side IS case sensitive with the query string,
329+
# requiring the prefix to be "vf_Parameters", requests does not end
330+
# up preserving the case sensitivity with the Response.Request
331+
# object. It also shows up lowercased in the requests_mock request
332+
# history.
328333
resp = self.server.workbooks.get_request(url, request_object=opts)
329334
query_params = parse_qs(resp.request.query)
330335
self.assertIn("vf_parameters.name1@", query_params)

0 commit comments

Comments
 (0)