reviewboard.extensions.testing.testcases¶
Base test case support for extension unit tests.
- class ExtensionTestCase(methodName='runTest')[source]¶
Bases:
ExtensionTestCaseMixin
,TestCase
Base class for Review Board extension unit tests.
Extension authors can subclass this to help write unit tests for their extensions, ensuring their functionality works as expected.
See Testing Extensions for information on how to write unit tests for extensions, and
ExtensionTestCaseMixin
for the details on how this class works.