Fix the unit tests from the diff viewer work.

Review Request #7160 — Created April 2, 2015 and submitted

Information

Review Board
release-2.0.x
9e3aa67...

Reviewers

My fixes for the diff viewer work never made it in, and I lost them.
Several tests were broken due to either not accepting the new request
parameter in a function spy, or not calling the render function to test
the code that moved into there.

This fixes all the remaining unit tests.

Unit tests pass.

Description From Last Updated

redefinition of unused 'FileDiffMigrationTests' from line 1039

reviewbotreviewbot

Blank line after this.

daviddavid
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/diffviewer/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/diffviewer/tests.py
    
    
  2. reviewboard/diffviewer/tests.py (Diff revision 1)
     
     
    Show all issues
     redefinition of unused 'FileDiffMigrationTests' from line 1039
    
  3. 
      
david
  1. 
      
  2. reviewboard/diffviewer/tests.py (Diff revision 1)
     
     
    Show all issues

    Blank line after this.

  3. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (fbb966d)