@@ -226,10 +226,11 @@ def test_action_view_registrant_tickets_context(self):
226226 self .assertEqual (action ["context" ]["default_registrant_id" ], self .registrant .id )
227227
228228 def test_action_view_registrant_tickets_view_mode (self ):
229- """action_view_grm_registrant_tickets exposes tree , form, and kanban views."""
229+ """action_view_grm_registrant_tickets exposes list , form, and kanban views."""
230230 action = self .registrant .action_view_grm_registrant_tickets ()
231- for mode in ("tree " , "form" , "kanban" ):
231+ for mode in ("list " , "form" , "kanban" ):
232232 self .assertIn (mode , action ["view_mode" ])
233+ self .assertNotIn ("tree" , action ["view_mode" ])
233234
234235 # ------------------------------------------------------------------ #
235236 # action_view_grm_household_tickets #
@@ -256,7 +257,8 @@ def test_action_view_household_tickets_context(self):
256257 self .assertEqual (action ["context" ]["default_household_id" ], self .household .id )
257258
258259 def test_action_view_household_tickets_view_mode (self ):
259- """action_view_grm_household_tickets exposes tree , form, and kanban views."""
260+ """action_view_grm_household_tickets exposes list , form, and kanban views."""
260261 action = self .household .action_view_grm_household_tickets ()
261- for mode in ("tree " , "form" , "kanban" ):
262+ for mode in ("list " , "form" , "kanban" ):
262263 self .assertIn (mode , action ["view_mode" ])
264+ self .assertNotIn ("tree" , action ["view_mode" ])
0 commit comments