-
-
-
-
reviewboard/webapi/tests/test_hosting_service_account.py (Diff revision 1) 'LocalSite' imported but unused
-
reviewboard/webapi/tests/test_review_group_user.py (Diff revision 1) 'LocalSite' imported but unused
-
reviewboard/webapi/tests/test_review_request_draft.py (Diff revision 1) 'LocalSite' imported but unused
-
Cache lookups of LocalSites in the API unit tests.
Review Request #6084 — Created July 8, 2014 and submitted
We fetch LocalSites quite a lot in the API unit tests. This attempts to
reduce the number of queries by caching and returning them after they've
already been queried once.
Unit tests pass.