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

Unified Diff: dashboard/dashboard/layered_cache_test.py

Issue 2350113002: Add request-level caching for privileged queries. (Closed)
Patch Set: Fix unit tests 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
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()
sullivan 2016/09/19 21:40:27 These are needed because the unit tests now hit th
def testSetAndGet(self):
self.SetCurrentUser('internal@chromium.org')

Powered by Google App Engine
This is Rietveld 408576698