File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
tests/test_implementations/test_sqlalchemy/api_test Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ def test_create_one_and_delete_one_but_not_found():
437437
438438
439439
440- def test_create_one_and_delete_one_but_not_found_test_case_insensitive ():
440+ def test_create_one_and_delete_one_but_not_found_test_case_sensitive ():
441441 headers = {
442442 'accept' : 'application/json' ,
443443 'Content-Type' : 'application/json' ,
@@ -469,3 +469,14 @@ def test_create_one_and_delete_one_but_not_found_test_case_insensitive():
469469 response = client .delete (f'/test_delete_one/{ primary_key } ?{ query_string } ' )
470470 assert response .status_code == 404
471471
472+
473+ params = {
474+ "varchar_value____str" : 'String' ,
475+ "varchar_value____str_____matching_pattern" : 'case_insensitive' ,
476+ }
477+ from urllib .parse import urlencode
478+ query_string = urlencode (OrderedDict (** params ))
479+ update_data = {"bool_value" : False }
480+ response = client .delete (f'/test_delete_one/{ primary_key } ?{ query_string } ' )
481+ assert response .status_code == 200
482+
You can’t perform that action at this time.
0 commit comments