| def test_cli_no_python():
|
| match platform.system():
|
| case "Windows":
|
| cmd = ["cmd.exe", "/c", "sleep 2"]
|
| case _:
|
| cmd = ["bash", "-c", "sleep 2"]
|
|
|
| result = austin(*cmd, expect_fail=32)
|
|
|
| > assert result.returncode == 32
|
| E assert 64 == 32
|
| E + where 64 = CompletedProcess(args=['src/austin', 'bash', '-c', 'sleep 2'], returncode=64, stdout='', stderr="src/austin: invalid option -- 'c'\nTry `austin --help' or `austin --usage' for more information.\n").returncode
|
|
|
| test/functional/test_cli.py:49: AssertionError
|