@@ -273,7 +273,7 @@ def test_zerotier_api_tasks_notification(
273273 notification = notification_qs .first ()
274274 self .assertEqual (notification .actor , vpn )
275275 self .assertEqual (notification .target , vpn )
276- self .assertEqual (notification .type , "api_task_error " )
276+ self .assertEqual (notification .type , "generic_message " )
277277 self .assertIn (
278278 "Unable to perform update operation" , notification .message
279279 )
@@ -315,14 +315,14 @@ def test_zerotier_api_tasks_notification(
315315 self .assertEqual (mock_info .call_count , 1 )
316316 self .assertEqual (notification_recovery .actor , vpn )
317317 self .assertEqual (notification_recovery .target , vpn )
318- self .assertEqual (notification_recovery .type , "api_task_recovery " )
318+ self .assertEqual (notification_recovery .type , "generic_message " )
319319 self .assertIn ("The update operation on" , notification_recovery .message )
320320 # For unrecoverable error
321321 self .assertEqual (mock_warn .call_count , 0 )
322322 self .assertEqual (mock_error .call_count , 1 )
323323 self .assertEqual (notification_error .actor , vpn )
324324 self .assertEqual (notification_error .target , vpn )
325- self .assertEqual (notification_error .type , "api_task_error " )
325+ self .assertEqual (notification_error .type , "generic_message " )
326326 self .assertIn (
327327 "Unable to perform update member operation" ,
328328 notification_error .message ,
0 commit comments