Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1460)

Unified Diff: dashboard/dashboard/layered_cache_test.py

Issue 2350113002: Add request-level caching for privileged queries. (Closed)
Patch Set: Addressed review comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dashboard/dashboard/datastore_hooks_test.py ('k') | dashboard/dashboard/list_tests_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/layered_cache_test.py
diff --git a/dashboard/dashboard/layered_cache_test.py b/dashboard/dashboard/layered_cache_test.py
index 200cd525d2ce759c67a359238a1a0b7ce786358b..a6af6e6215ec0fe5e5370369e0cc6d750ff1e206 100644
--- a/dashboard/dashboard/layered_cache_test.py
+++ b/dashboard/dashboard/layered_cache_test.py
@@ -29,6 +29,7 @@ class LayeredCacheTest(testing_common.TestCase):
self.UnsetCurrentUser()
testing_common.SetIsInternalUser('internal@chromium.org', True)
testing_common.SetIsInternalUser('foo@chromium.org', False)
+ self.PatchDatastoreHooksRequest()
def testSetAndGet(self):
self.SetCurrentUser('internal@chromium.org')
« no previous file with comments | « dashboard/dashboard/datastore_hooks_test.py ('k') | dashboard/dashboard/list_tests_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698