From 2efe972ea90d2f1800625c85c0e82a6977d1c4fc Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Tue, 7 May 2024 08:04:46 -0700 Subject: [PATCH] Fix breaking shell command test case --- tests/cli/test_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/test_shell.py b/tests/cli/test_shell.py index 5d47807e..d7a52f1a 100644 --- a/tests/cli/test_shell.py +++ b/tests/cli/test_shell.py @@ -87,7 +87,7 @@ def test_shell_command_raises_no_domain_exception_when_no_domain_is_found(self): result = runner.invoke(app, args, catch_exceptions=False) assert result.exit_code == 1 assert isinstance(result.exception, SystemExit) - assert result.output == "Aborted.\n" + assert "Aborted" in result.output def test_shell_command_with_traverse_option(self): change_working_directory_to("test7")