1import subprocess
2import os
3
4def test_installation():
5    os.chdir(os.path.dirname(os.path.realpath(__file__)))
6    result = subprocess.Popen(['bash', './check_installation.sh'])
7    text = result.communicate()[0]
8    print(text)
9    assert result.returncode == 0
10