Skip to content

Commit fbf9b60

Browse files
committed
style check
1 parent 5b6812f commit fbf9b60

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

debug_toolbar/panels/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from django.utils.translation import gettext_lazy as _
44

55
from 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

99
class RequestPanel(Panel):

tests/panels/test_request.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from ..base import BaseTestCase
21
from django.http import QueryDict
32

3+
from ..base import BaseTestCase
4+
45

56
class 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.

0 commit comments

Comments
 (0)