From fd9b5d7da5da1e56cff6ac5dc6702efcb82df748 Mon Sep 17 00:00:00 2001 From: Prodesire Date: Thu, 21 Dec 2017 20:33:07 +0800 Subject: [PATCH] rename test_execute to test_run --- tests/test_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cmd.py b/tests/test_cmd.py index 7d5370a..4b44513 100644 --- a/tests/test_cmd.py +++ b/tests/test_cmd.py @@ -4,7 +4,7 @@ from pydu.string import safeunicode from pydu.cmd import run, cmdline_argv -def test_execute(): +def test_run(): retcode, output = run('echo hello') assert retcode == 0 assert safeunicode(output).rstrip('\r\n') == 'hello'