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

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

Information

Review Board
release-2.0.x
7959e80...

Reviewers

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.

reviewbot
  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
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (96a6b4c)