Bring over a better UnitTest class from Review Board.

Review Request #5962 — Created June 9, 2014 and submitted

Information

RBTools
release-0.6.x
a3d1488...

Reviewers

This class lets us have docstrings that wrap lines for the unit test
summaries, instead of constraining them to a single line.

This does somewhat duplicate the purpose of RBTestBase in
rbtools/utils/, but that should maybe be split up into a set of mixins
or a new class, as that's really more for client tests and not that
useful for API tests.

Unit tests passed.

Tested with a wrapped docstring.

reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/api/tests.py
        rbtools/testing/__init__.py
        rbtools/utils/testbase.py
        rbtools/testing/testcase.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        rbtools/api/tests.py
        rbtools/testing/__init__.py
        rbtools/utils/testbase.py
        rbtools/testing/testcase.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!

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