Fix Review UI sandbox tests.

Review Request #7177 — Created April 7, 2015 and submitted

Information

Review Board
release-2.5.x
73e9c9f...

Reviewers

A few of the unit tests for sandboxing of review UI methods were broken on
release-2.5.x. The cause appears to be a difference in caching between the
file attachment's review_ui member and the file attachment comment's
review_ui member. I've cleaned this up to make sure we're spying on the right
thing. While I was in here, I also fixed up some bad naming.

Ran unit tests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/reviews/ui/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/reviews/ui/tests.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (ab3845b)
Loading...