pypa-hatch/tests/cli/self/test_self.py

8 lines
131 B
Python

import os
def test(hatch):
result = hatch(os.environ['PYAPP_COMMAND_NAME'])
assert result.exit_code == 0, result.output