1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Improved failed test output

This commit is contained in:
Jakub Roztocil
2016-03-02 13:16:41 +08:00
parent 564670566c
commit 66e168b2af
4 changed files with 24 additions and 8 deletions

View File

@@ -18,3 +18,10 @@ class ExitStatus:
ERROR_HTTP_3XX = 3
ERROR_HTTP_4XX = 4
ERROR_HTTP_5XX = 5
EXIT_STATUS_LABELS = dict(
(value, key)
for key, value in ExitStatus.__dict__.items()
if key.isupper()
)