Fix original-file and patched-file tests.

Review Request #6212 — Created Aug. 8, 2014 and submitted

Information

Review Board
master
32cfd27...

Reviewers

Some of the tests for the original-file and patched-file resources were failing
because it was trying to decode the responses as JSON. The problem was that one
of the GET test implementations was updated for the new basic_get_returns_json
field but not another. I've made an equivalent change to handle it.

Ran unit tests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/webapi/tests/mixins.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/webapi/tests/mixins.py
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (b988860).