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 @@ -63,14 +63,14 @@ def test_recording_chunked_cursor(self):
63
63
# ensure query was logged
64
64
self .assertEqual (len (self .panel ._queries ), 1 )
65
65
66
- @patch (' debug_toolbar.panels.sql.tracking.state' , wraps = sql_tracking .state )
66
+ @patch (" debug_toolbar.panels.sql.tracking.state" , wraps = sql_tracking .state )
67
67
def test_cursor_wrapper_singleton (self , mock_state ):
68
68
list (User .objects .all ())
69
69
70
70
# ensure that cursor wrapping is applied only once
71
71
self .assertEqual (mock_state .Wrapper .call_count , 1 )
72
72
73
- @patch (' debug_toolbar.panels.sql.tracking.state' , wraps = sql_tracking .state )
73
+ @patch (" debug_toolbar.panels.sql.tracking.state" , wraps = sql_tracking .state )
74
74
def test_chunked_cursor_wrapper_singleton (self , mock_state ):
75
75
list (User .objects .all ().iterator ())
76
76
You can’t perform that action at this time.
0 commit comments