Remove hard dependency on HG for tests.

Review Request #4709 — Created Oct. 9, 2013 and submitted

Information

Review Board
master

Reviewers

Remove hard dependency on HG for tests.

The tests for the commits and branches resources used a mercurial repository to
test for repos that didn't support the calls, but didn't check to see if hg was
installed. This resulted in tracebacks for these two tests. I've changed this
to use the CVS tool for these tests instead, which doesn't have any external
dependencies.

There's also one test in the diffviewer code that just should be skipped when
mercurial isn't installed.

Ran unit tests.

Description From Last Updated

nose is third-party.

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

    nose is third-party.

  3. 
      
david
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:

Pushed to master (5477733).