mirror of https://github.com/flaggo/pydu.git
rename test_execute to test_run
This commit is contained in:
parent
82efe9034f
commit
fd9b5d7da5
|
@ -4,7 +4,7 @@ from pydu.string import safeunicode
|
||||||
from pydu.cmd import run, cmdline_argv
|
from pydu.cmd import run, cmdline_argv
|
||||||
|
|
||||||
|
|
||||||
def test_execute():
|
def test_run():
|
||||||
retcode, output = run('echo hello')
|
retcode, output = run('echo hello')
|
||||||
assert retcode == 0
|
assert retcode == 0
|
||||||
assert safeunicode(output).rstrip('\r\n') == 'hello'
|
assert safeunicode(output).rstrip('\r\n') == 'hello'
|
||||||
|
|
Loading…
Reference in New Issue