@@ -93,7 +93,7 @@ def test_history_panel_integration_content(self):
93
93
toolbar = list (DebugToolbar ._store .values ())[0 ]
94
94
content = toolbar .get_panel_by_id ("HistoryPanel" ).content
95
95
self .assertIn ("bar" , content )
96
- self .assertIn ('name="do_not_include_history " value="True"' , content )
96
+ self .assertIn ('name="exclude_history " value="True"' , content )
97
97
98
98
def test_history_sidebar_invalid (self ):
99
99
response = self .client .get (reverse ("djdt:history_sidebar" ))
@@ -103,7 +103,7 @@ def test_history_sidebar(self):
103
103
"""Validate the history sidebar view."""
104
104
self .client .get ("/json_view/" )
105
105
store_id = list (DebugToolbar ._store )[0 ]
106
- data = {"store_id" : store_id , "do_not_include_history " : True }
106
+ data = {"store_id" : store_id , "exclude_history " : True }
107
107
response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
108
108
self .assertEqual (response .status_code , 200 )
109
109
self .assertEqual (
@@ -133,7 +133,7 @@ def test_history_sidebar_expired_store_id(self):
133
133
"""Validate the history sidebar view."""
134
134
self .client .get ("/json_view/" )
135
135
store_id = list (DebugToolbar ._store )[0 ]
136
- data = {"store_id" : store_id , "do_not_include_history " : True }
136
+ data = {"store_id" : store_id , "exclude_history " : True }
137
137
response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
138
138
self .assertEqual (response .status_code , 200 )
139
139
self .assertEqual (
@@ -143,14 +143,14 @@ def test_history_sidebar_expired_store_id(self):
143
143
self .client .get ("/json_view/" )
144
144
145
145
# Querying old store_id should return in empty response
146
- data = {"store_id" : store_id , "do_not_include_history " : True }
146
+ data = {"store_id" : store_id , "exclude_history " : True }
147
147
response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
148
148
self .assertEqual (response .status_code , 200 )
149
149
self .assertEqual (response .json (), {})
150
150
151
151
# Querying with latest store_id
152
152
latest_store_id = list (DebugToolbar ._store )[0 ]
153
- data = {"store_id" : latest_store_id , "do_not_include_history " : True }
153
+ data = {"store_id" : latest_store_id , "exclude_history " : True }
154
154
response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
155
155
self .assertEqual (response .status_code , 200 )
156
156
self .assertEqual (
0 commit comments