コード例 #1
0
ファイル: test_cli.py プロジェクト: neverforget2019/pyunpack
def test_help():
    cmd = [python, "-m", "pyunpack.cli", "--help"]
    h = EasyProcess(cmd).call().stdout.strip()
    h = h.replace("\r", "")  # for win
    print(help)
    print(h)
    assert h == help