Add an ExtensionTestCase to allow testing of the models of Review Board extensions

Review Request #6821 — Created Jan. 22, 2015 and discarded — Latest diff uploaded

Information

Review Board
master

Reviewers

The ExtensionTestCase class is a special test case base class for
Review Board extensions. It exposes the models of the extension via
the models attribute on instances of the sub-class.

To run tests on the extension, execute
./reviewboard/manage.py test -- extension.tests
where extensions.test is the module containing the tests.

Created an extension with a model. Subclassed ExtensionTestCase
and created test methods that passed on that subclass.