Fixed tests exist status.

This commit is contained in:
Jakub Roztocil 2012-07-17 01:33:18 +02:00
parent f29c458611
commit 8a7f4c0d6e

View File

@ -5,7 +5,8 @@ import httpie
if sys.argv[-1] == 'test':
sys.exit(os.system('python tests/tests.py'))
status = os.system('python tests/tests.py')
sys.exit(1 if status > 127 else status)
requirements = [