From f05dfe73d675e198ad271fa23c7dcdcd1f988551 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 20 Apr 2020 22:55:29 -0400 Subject: cmd2 now considers ipy a pyscript environment --- tests/test_run_pyscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_run_pyscript.py b/tests/test_run_pyscript.py index 12257fc5..1776614f 100644 --- a/tests/test_run_pyscript.py +++ b/tests/test_run_pyscript.py @@ -35,7 +35,7 @@ def test_run_pyscript(base_app, request): def test_run_pyscript_recursive_not_allowed(base_app, request): test_dir = os.path.dirname(request.module.__file__) python_script = os.path.join(test_dir, 'pyscript', 'recursive.py') - expected = 'Recursively entering interactive Python consoles is not allowed.' + expected = 'Recursively entering interactive Python shells is not allowed.' out, err = run_cmd(base_app, "run_pyscript {}".format(python_script)) assert err[0] == expected -- cgit v1.2.1 From ae946b70b24c61673e8b7c880ccbdf91768d456d Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 20 Apr 2020 23:26:20 -0400 Subject: Updated error text --- tests/test_run_pyscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_run_pyscript.py b/tests/test_run_pyscript.py index 1776614f..6110e3ac 100644 --- a/tests/test_run_pyscript.py +++ b/tests/test_run_pyscript.py @@ -35,7 +35,7 @@ def test_run_pyscript(base_app, request): def test_run_pyscript_recursive_not_allowed(base_app, request): test_dir = os.path.dirname(request.module.__file__) python_script = os.path.join(test_dir, 'pyscript', 'recursive.py') - expected = 'Recursively entering interactive Python shells is not allowed.' + expected = 'Recursively entering interactive Python shells is not allowed' out, err = run_cmd(base_app, "run_pyscript {}".format(python_script)) assert err[0] == expected -- cgit v1.2.1