Improve sanity checking of interdiff test opcodes, and fix a test.

Review Request #8831 - Created March 20, 2017 and submitted

Christian Hammond
Review Board
release-2.0.x
7959e80...
reviewboard
This improves our interdiff opcode sanity-checking, making sure that
ranges are of the correct lengths. That also unveiled a problem with one
of our tests that had a bad length. That unit test has been fixed
accordingly.

Tested each of the failure paths.

Unit tests pass.

Review Bot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/diffviewer/tests/test_processors.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/diffviewer/tests/test_processors.py
    
    
  2. 
      
David Trowbridge
  1. Ship It!
  2. 
      
Christian Hammond
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (96a6b4c)
Loading...