From 74b9c11ab90b0d661d5749f5f46cff074f539fbc Mon Sep 17 00:00:00 2001 From: Miroslava Ivanova Date: Wed, 14 Aug 2019 17:57:46 +0300 Subject: [PATCH] change console help text --- tests/cli/create/create_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cli/create/create_tests.py b/tests/cli/create/create_tests.py index 827970c6..01e6426f 100644 --- a/tests/cli/create/create_tests.py +++ b/tests/cli/create/create_tests.py @@ -157,14 +157,14 @@ def test_403_create_project_with_no_name(self): """Create project without name should show friendly error message""" result = Tns.create(app_name="", template=Template.HELLO_WORLD_JS.local_package, force_clean=False, verify=False, update=False) - assert "You must specify when creating a new project" in result.output - assert "# tns create" in result.output + assert "Run 'tns create --help' for more information." in result.output + assert "You must specify when creating a new project." in result.output def test_405_create_app_with_space_without_quotes(self): """Create project with space without quotes.""" result = Tns.exec_command("create fake fake", log_trace=False) - assert "The parameter fake is not valid for this command" in result.output - assert "# tns create" in result.output + assert "Run 'tns create --help' for more information." in result.output + assert "The parameter fake is not valid for this command." in result.output @staticmethod def __clean_folders():