예제 #1
0
파일: tests.py 프로젝트: agateau/popysh
def test_ls():
    from popysh.syscmd import ls

    ls()
예제 #2
0
파일: tests.py 프로젝트: agateau/popysh
def test_returncode():
    from popysh.syscmd import ls

    proc = ls("/does-not-exist")
    returncode = proc.run()
    assert returncode != 0