Add a unit test for API root caching.

Review Request #4109 — Created May 6, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Add a unit test for API root caching.

This adds a unit test to make sure that caching of uri_templates in the API root
takes into account the correct local site.

See http://reviews.reviewboard.org/r/4107/ for the actual fix.
Ran all tests.

Before the djblets change, the new test failed. After, it succeeds.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2
reviewboard/site/fixtures/test_site.json
reviewboard/webapi/tests.py
Loading...