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

Unified Diff: dashboard/dashboard/utils_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/utils_test.py
diff --git a/dashboard/dashboard/utils_test.py b/dashboard/dashboard/utils_test.py
index 28ba97c713c3e4a673b482d04c1ac05095458621..317331148291a0ac6ef576e612317a474a36e149 100644
--- a/dashboard/dashboard/utils_test.py
+++ b/dashboard/dashboard/utils_test.py
@@ -21,6 +21,7 @@ class UtilsTest(testing_common.TestCase):
super(UtilsTest, self).setUp()
testing_common.SetIsInternalUser('internal@chromium.org', True)
testing_common.SetIsInternalUser('foo@chromium.org', False)
+ self.PatchDatastoreHooksRequest()
def _AssertMatches(self, test_path, pattern):
"""Asserts that a test path matches a pattern with MatchesPattern."""

Powered by Google App Engine
This is Rietveld 408576698