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

Unified Diff: appengine/findit/common/findit_testcase.py

Issue 2376573004: [Findit] For automatic analyses of flaky tests, run the Swarming tasks off PST peak hours. (Closed)
Patch Set: Fix nit. Created 4 years, 2 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 | « no previous file | appengine/findit/common/test/time_util_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/findit_testcase.py
diff --git a/appengine/findit/common/findit_testcase.py b/appengine/findit/common/findit_testcase.py
index 74bd3685a11c732320babc8b0f19eeb3f653dafa..046e4eeb72e604470a750c1c4b1a580e7888ea73 100644
--- a/appengine/findit/common/findit_testcase.py
+++ b/appengine/findit/common/findit_testcase.py
@@ -38,3 +38,7 @@ class FinditTestCase(testing.AppengineTestCase): # pragma: no cover.
def MockUTCNow(self, mocked_utcnow):
"""Mocks utcnow with the given value for testing."""
self.mock(time_util, 'GetUTCNow', lambda: mocked_utcnow)
+
+ def MockUTCNowWithTimezone(self, mocked_utcnow):
+ """Mocks utcnow with the given value for testing."""
+ self.mock(time_util, 'GetUTCNowWithTimezone', lambda: mocked_utcnow)
« no previous file with comments | « no previous file | appengine/findit/common/test/time_util_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698