Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/panels/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_query_dict_for_request_in_method_post(self):
Test verifies the correctness of the statistics generation method
in the case when the POST request is class QueryDict
"""
self.request.GET = QueryDict("foo=bar")
self.request.POST = QueryDict("foo=bar")
response = self.panel.process_request(self.request)
self.panel.generate_stats(self.request, response)
# ensure the panel POST request data is processed correctly.
Expand All @@ -77,7 +77,7 @@ def test_dict_for_request_in_method_post(self):
Test verifies the correctness of the statistics generation method
in the case when the POST request is class Dict
"""
self.request.GET = {"foo": "bar"}
self.request.POST = {"foo": "bar"}
response = self.panel.process_request(self.request)
self.panel.generate_stats(self.request, response)
# ensure the panel POST request data is processed correctly.
Expand Down