@@ -11,7 +11,7 @@ def test_correct_api_hint(both_clients, check_response):
1111
1212 links_id = "index"
1313 major_version = BASE_URL_PREFIXES ["major" ][1 :] # Remove prefixed `/`
14- query_url = f" /links?api_hint={ major_version } &filter=id={ links_id } "
14+ query_url = f' /links?api_hint={ major_version } &filter=id=" { links_id } "'
1515
1616 check_response (
1717 request = query_url ,
@@ -27,7 +27,7 @@ def test_incorrect_api_hint(both_clients, check_error_response):
2727 links_id = "index"
2828 incorrect_version = int (BASE_URL_PREFIXES ["major" ][len ("/v" ) :]) + 1
2929 incorrect_version = f"v{ incorrect_version } "
30- query_url = f" /links?api_hint={ incorrect_version } &filter=id={ links_id } "
30+ query_url = f' /links?api_hint={ incorrect_version } &filter=id=" { links_id } "'
3131
3232 with pytest .raises (VersionNotSupported ):
3333 check_error_response (
@@ -52,7 +52,7 @@ def test_url_changes(both_clients, get_good_response):
5252
5353 links_id = "index"
5454 major_version = BASE_URL_PREFIXES ["major" ][1 :] # Remove prefixed `/`
55- query_url = f" /links?filter=id={ links_id } &api_hint={ major_version } "
55+ query_url = f' /links?filter=id=" { links_id } " &api_hint={ major_version } '
5656
5757 response = get_good_response (query_url , server = both_clients , return_json = False )
5858
@@ -62,7 +62,7 @@ def test_url_changes(both_clients, get_good_response):
6262 )
6363
6464 # Now to make sure the redirect would not happen when leaving out `api_hint`
65- query_url = f" /links?filter=id={ links_id } "
65+ query_url = f' /links?filter=id=" { links_id } "'
6666
6767 response = get_good_response (query_url , server = both_clients , return_json = False )
6868
0 commit comments