Do not update timestamp when revoking Ship Its

Review Request #9068 — Created July 10, 2017 and submitted

Information

Review Board
release-3.0.x
fe88e6d...

Reviewers

Previously, revoking a Ship It would cause the timestamp of the review
to be updated, which resulted in the comments on a review request going
out of order. This was because we were not passing keyword arguments
from Review.save to its parent method. This is now fixed and unit
tests have been added to ensure the behaviour does not regress.

Ran unit tests.

Description From Last Updated

The diff here includes a bunch of unrelated changes. Please re-post with the right branch(es).

daviddavid

I don't understand why this is needed, given the implementation of both functions?

chipx86chipx86

Can we import just the function we need?

chipx86chipx86

"constant" Maybe ".. with a constant in a spy below"?

chipx86chipx86

Same as above.

chipx86chipx86
chipx86
  1. 
      
  2. reviewboard/reviews/tests/test_review.py (Diff revision 1)
     
     
     
    Show all issues

    I don't understand why this is needed, given the implementation of both functions?

  3. reviewboard/webapi/tests/test_review.py (Diff revision 1)
     
     
    Show all issues

    Can we import just the function we need?

  4. 
      
brennie
david
  1. 
      
  2. Show all issues

    The diff here includes a bunch of unrelated changes. Please re-post with the right branch(es).

  3. 
      
brennie
chipx86
  1. 
      
  2. Show all issues

    "constant"

    Maybe ".. with a constant in a spy below"?

  3. reviewboard/webapi/tests/test_review.py (Diff revision 3)
     
     
    Show all issues

    Same as above.

  4. 
      
brennie
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (473ac6c)