cdent / gabbi

Declarative HTTP Testing for Python and anything else
http://gabbi.readthedocs.org/
Other
148 stars 34 forks source link

If verbose: True and response content-type is json may as well pretty print the output #182

Closed cdent closed 7 years ago

cdent commented 7 years ago

It kinda seems like if we know the content-type when being verbose about bodies, we may as well pretty print if it is json. It's not much effort to do so (there's already pretty printing happening in some test failure messages) and it is nice.

Is it too nice?

/cc @FND