diff --git a/tests/test_server_events.py b/tests/test_server_events.py index 05484b8c..3335489e 100644 --- a/tests/test_server_events.py +++ b/tests/test_server_events.py @@ -9,10 +9,10 @@ from sanic import Sanic from sanic.utils import HOST, PORT AVAILABLE_LISTENERS = [ - 'before_start', - 'after_start', - 'before_stop', - 'after_stop' + 'before_server_start', + 'after_server_start', + 'before_server_stop', + 'after_server_stop' ]