Add a foundation to help with writing API test suites.
Review Request #7489 — Created July 4, 2015 and submitted
This ports over some of Review Board's common API testing functionality into Djblets, to help with writing fully-featured test suites. It provides a mixin for test cases that provides functions for making API calls and verifying the results, and for helping with docstring generation. Not all of Review Board's handy infrastructure made it over here, due to how specific much of it is to Review Board, but with this change, it's easy to begin writing new test suites.
Ported Review Board's test suite over to this, and all unit tests passed.
Tool: PEP8 Style Checker Processed Files: djblets/webapi/testing/testcases.py djblets/webapi/testing/decorators.py Ignored Files: djblets/webapi/testing/__init__.py docs/djblets/coderef/index.rst Tool: Pyflakes Processed Files: djblets/webapi/testing/testcases.py djblets/webapi/testing/decorators.py Ignored Files: djblets/webapi/testing/__init__.py docs/djblets/coderef/index.rst