rename test_execute to test_run

This commit is contained in:
Prodesire 2017-12-21 20:33:07 +08:00
parent 82efe9034f
commit fd9b5d7da5
1 changed files with 1 additions and 1 deletions

View File

@ -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'