@@ -93,7 +93,7 @@ def test_history_panel_integration_content(self):
9393 toolbar = list (DebugToolbar ._store .values ())[0 ]
9494 content = toolbar .get_panel_by_id ("HistoryPanel" ).content
9595 self .assertIn ("bar" , content )
96- self .assertIn ('name="do_not_include_history " value="True"' , content )
96+ self .assertIn ('name="exclude_history " value="True"' , content )
9797
9898 def test_history_sidebar_invalid (self ):
9999 response = self .client .get (reverse ("djdt:history_sidebar" ))
@@ -103,7 +103,7 @@ def test_history_sidebar(self):
103103 """Validate the history sidebar view."""
104104 self .client .get ("/json_view/" )
105105 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 }
107107 response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
108108 self .assertEqual (response .status_code , 200 )
109109 self .assertEqual (
@@ -133,7 +133,7 @@ def test_history_sidebar_expired_store_id(self):
133133 """Validate the history sidebar view."""
134134 self .client .get ("/json_view/" )
135135 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 }
137137 response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
138138 self .assertEqual (response .status_code , 200 )
139139 self .assertEqual (
@@ -143,14 +143,14 @@ def test_history_sidebar_expired_store_id(self):
143143 self .client .get ("/json_view/" )
144144
145145 # 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 }
147147 response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
148148 self .assertEqual (response .status_code , 200 )
149149 self .assertEqual (response .json (), {})
150150
151151 # Querying with latest store_id
152152 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 }
154154 response = self .client .get (reverse ("djdt:history_sidebar" ), data = data )
155155 self .assertEqual (response .status_code , 200 )
156156 self .assertEqual (
0 commit comments