Use pprint to print out webapi responses in unit tests.

Review Request #8266 — Created July 2, 2016 and submitted

Information

Djblets
release-0.10.x
e44e5a0...

Reviewers

It can be annoying to menally parse the responses from unit tests when dealing
with failures in the API tests. This change updates it to use pprint for the
structures rather than print.

Used this to debug some failures.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/testing/testcases.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/webapi/testing/testcases.py
    
    
  2. 
      
brennie
  1. Yes, please!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (2a7930b)
Loading...