hy/tests/test_bin.py

9 lines
160 B
Python
Raw Normal View History

import subprocess
def test_bin_hy():
p = subprocess.Popen("echo | bin/hy",
shell=True)
p.wait()
assert p.returncode == 0