From e18a4f4d3ec15fcfc9067aa3e8c89bb2c1df445b Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Tue, 7 May 2024 08:09:02 -0700 Subject: [PATCH] Fix breaking server command test case --- tests/cli/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/test_server.py b/tests/cli/test_server.py index 2a0a143a..2a9d2c74 100644 --- a/tests/cli/test_server.py +++ b/tests/cli/test_server.py @@ -31,7 +31,7 @@ def test_server_with_invalid_domain(self): result = runner.invoke(app, args) assert result.exit_code != 0 assert isinstance(result.exception, SystemExit) - assert result.output == "Aborted.\n" + assert "Aborted" in result.output def test_server_start_successfully(self): change_working_directory_to("test7")