Fix review request counters when reassigning ownership.

Review Request #8757 - Created Feb. 15, 2017 and submitted

David Trowbridge
Review Board
release-3.0.x
e251a1f...
reviewboard

Reassigning review request ownership worked pretty well overall, but would
leave the review request counters untouched. This change fixes that, and adds a
unit test to verify the results.

  • Manually reassigned a review request and saw the pending/total counters
    update correctly.
  • Ran unit tests.
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Review Bot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/reviews/tests/test_counters.py
        reviewboard/reviews/models/review_request.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/reviews/tests/test_counters.py
        reviewboard/reviews/models/review_request.py
    
    
  2. 
      
Christian Hammond
  1. 
      
  2. reviewboard/reviews/tests/test_counters.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     

    This would be easier to read if we split the line at the second argument instead of putting both arguments on the second line.

  3. 
      
Christian Hammond
  1. Ship It!
  2. 
      
David Trowbridge
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (abc032d)
Loading...