| Index: dashboard/dashboard/update_test_suites_test.py
|
| diff --git a/dashboard/dashboard/update_test_suites_test.py b/dashboard/dashboard/update_test_suites_test.py
|
| index 62181b5eed28f680969b5d50bb098fc0d3f15716..bf97604d8f9e3f59f2205ae5752f985065b2383b 100644
|
| --- a/dashboard/dashboard/update_test_suites_test.py
|
| +++ b/dashboard/dashboard/update_test_suites_test.py
|
| @@ -28,6 +28,7 @@ class ListTestSuitesTest(testing_common.TestCase):
|
| datastore_hooks.InstallHooks()
|
| testing_common.SetIsInternalUser('internal@chromium.org', True)
|
| self.UnsetCurrentUser()
|
| + self.PatchDatastoreHooksRequest()
|
|
|
| def testFetchCachedTestSuites_NotEmpty(self):
|
| # If the cache is set, then whatever's there is returned.
|
| @@ -67,6 +68,8 @@ class ListTestSuitesTest(testing_common.TestCase):
|
| })
|
|
|
| def testPost_ForcesCacheUpdate(self):
|
| + request = webapp2.get_request()
|
| + request.registry['privileged_cached'] = False
|
| key = update_test_suites._NamespaceKey(
|
| update_test_suites._LIST_SUITES_CACHE_KEY)
|
| stored_object.Set(key, {'foo': 'bar'})
|
|
|