File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def test_query_dict_for_request_in_method_post(self):
64
64
Test verifies the correctness of the statistics generation method
65
65
in the case when the POST request is class QueryDict
66
66
"""
67
- self .request .GET = QueryDict ("foo=bar" )
67
+ self .request .POST = QueryDict ("foo=bar" )
68
68
response = self .panel .process_request (self .request )
69
69
self .panel .generate_stats (self .request , response )
70
70
# ensure the panel POST request data is processed correctly.
@@ -77,7 +77,7 @@ def test_dict_for_request_in_method_post(self):
77
77
Test verifies the correctness of the statistics generation method
78
78
in the case when the POST request is class Dict
79
79
"""
80
- self .request .GET = {"foo" : "bar" }
80
+ self .request .POST = {"foo" : "bar" }
81
81
response = self .panel .process_request (self .request )
82
82
self .panel .generate_stats (self .request , response )
83
83
# ensure the panel POST request data is processed correctly.
You can’t perform that action at this time.
0 commit comments