diff --git a/tests/test_motd.py b/tests/test_motd.py index 2e9eeab7..5fe4a2f0 100644 --- a/tests/test_motd.py +++ b/tests/test_motd.py @@ -31,10 +31,11 @@ def test_motd_with_expected_info(app, run_startup): logs = run_startup(app) assert logs[1][2] == f"Sanic v{__version__}" - assert logs[3][2] == "mode: debug, single worker" - assert logs[4][2] == "server: sanic, HTTP/1.1" - assert logs[5][2] == f"python: {platform.python_version()}" - assert logs[6][2] == f"platform: {platform.platform()}" + assert logs[3][2] == "app: test_motd_with_expected_info" + assert logs[4][2] == "mode: debug, single worker" + assert logs[5][2] == "server: sanic, HTTP/1.1" + assert logs[6][2] == f"python: {platform.python_version()}" + assert logs[7][2] == f"platform: {platform.platform()}" def test_motd_init(): @@ -61,7 +62,7 @@ def test_motd_display(caplog): │ │ ├───────────────────────┬────────┤ │ foobar │ one: 1 │ - | ├────────┤ + │ ├────────┤ │ │ two: 2 │ └───────────────────────┴────────┘ """