Fix unit test fallout with the latest branches/commits changes.

Review Request #5988 — Created June 12, 2014 and submitted

Information

Review Board
release-2.0.x
551dafd...

Reviewers

Some of the API tests were failing with the new changes for branches and
commits. This updates them to provide the data we need for the tests to
pass, and to update function signatures in TestTool to take the new
parameters.

All unit tests pass.

Description From Last Updated

'INVALID_FORM_DATA' imported but unused

reviewbotreviewbot
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/testing/scmtool.py
        reviewboard/webapi/tests/test_repository_commits.py
        reviewboard/webapi/tests/test_repository_branches.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/testing/scmtool.py
        reviewboard/webapi/tests/test_repository_commits.py
        reviewboard/webapi/tests/test_repository_branches.py
      Ignored Files:
    
    
  2. Show all issues
     'INVALID_FORM_DATA' imported but unused
    
  3. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (4672934)