File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 33from django .utils .translation import gettext_lazy as _
44
55from debug_toolbar .panels import Panel
6- from debug_toolbar .utils import get_sorted_request_variable , get_name_from_obj
6+ from debug_toolbar .utils import get_name_from_obj , get_sorted_request_variable
77
88
99class RequestPanel (Panel ):
Original file line number Diff line number Diff line change 1- from ..base import BaseTestCase
21from django .http import QueryDict
32
3+ from ..base import BaseTestCase
4+
45
56class RequestPanelTestCase (BaseTestCase ):
67 panel_id = "RequestPanel"
@@ -37,7 +38,7 @@ def test_query_dict_for_request_in_method_get(self):
3738 Test verifies the correctness of the statistics generation method
3839 in the case when the GET request is class QueryDict
3940 """
40- self .request .GET = QueryDict (' foo=bar' )
41+ self .request .GET = QueryDict (" foo=bar" )
4142 response = self .panel .process_request (self .request )
4243 self .panel .generate_stats (self .request , response )
4344 # ensure the panel GET request data is processed correctly.
@@ -63,7 +64,7 @@ def test_query_dict_for_request_in_method_post(self):
6364 Test verifies the correctness of the statistics generation method
6465 in the case when the POST request is class QueryDict
6566 """
66- self .request .GET = QueryDict (' foo=bar' )
67+ self .request .GET = QueryDict (" foo=bar" )
6768 response = self .panel .process_request (self .request )
6869 self .panel .generate_stats (self .request , response )
6970 # ensure the panel POST request data is processed correctly.
You can’t perform that action at this time.
0 commit comments