1 2 3 4 5 6 7 8 9 10 11
import os import subprocess import sys def test_help(): output = subprocess.check_output( [sys.executable, '-m', 'pipenv.help'], stderr=subprocess.STDOUT, env=os.environ.copy(), ) assert output