mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	ruff: Fix N818 exception name should be named with an Error suffix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							eb2c822d3f
						
					
				
				
					commit
					73c4da7974
				
			@@ -182,7 +182,7 @@ from zerver.lib.event_schema import (
 | 
			
		||||
    check_user_topic,
 | 
			
		||||
)
 | 
			
		||||
from zerver.lib.events import (
 | 
			
		||||
    RestartEventException,
 | 
			
		||||
    RestartEventError,
 | 
			
		||||
    apply_events,
 | 
			
		||||
    fetch_initial_state_data,
 | 
			
		||||
    post_process_state,
 | 
			
		||||
@@ -2499,7 +2499,7 @@ class NormalActionsTest(BaseAction):
 | 
			
		||||
        check_has_zoom_token("events[0]", events[0], value=False)
 | 
			
		||||
 | 
			
		||||
    def test_restart_event(self) -> None:
 | 
			
		||||
        with self.assertRaises(RestartEventException):
 | 
			
		||||
        with self.assertRaises(RestartEventError):
 | 
			
		||||
            self.verify_action(lambda: send_restart_events(immediate=True))
 | 
			
		||||
 | 
			
		||||
    def test_display_setting_event_not_sent(self) -> None:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user