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

Unified Diff: appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . Created 4 years 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: appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py
diff --git a/appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py b/appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py
index e884c6b1a09a7e29bb7304ec85ab76253732c26a..fad5def0984b7e205e84174008a00193edbe769f 100644
--- a/appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py
+++ b/appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py
@@ -62,7 +62,7 @@ class RecursiveFlakePipelineTest(wf_testcase.WaterfallTestCase):
mocked_utc_now = datetime(2016, 9, 04, 20, 0, 0, 0)
self.MockUTCNow(mocked_utc_now)
self.MockUTCNowWithTimezone(mocked_utc_now)
- with mock.patch('lib.time_util.GetDatetimeInTimezone') as timezone_func:
+ with mock.patch('libs.time_util.GetDatetimeInTimezone') as timezone_func:
timezone_func.side_effect = [mocked_pst_now, None]
self.assertEqual(mocked_utc_now,
recursive_flake_pipeline._GetETAToStartAnalysis(False))
@@ -73,7 +73,7 @@ class RecursiveFlakePipelineTest(wf_testcase.WaterfallTestCase):
mocked_utc_now = datetime(2016, 9, 20, 8, 0, 0, 0)
self.MockUTCNow(mocked_utc_now)
self.MockUTCNowWithTimezone(mocked_utc_now)
- with mock.patch('lib.time_util.GetDatetimeInTimezone') as timezone_func:
+ with mock.patch('libs.time_util.GetDatetimeInTimezone') as timezone_func:
timezone_func.side_effect = [mocked_pst_now, None]
self.assertEqual(mocked_utc_now,
recursive_flake_pipeline._GetETAToStartAnalysis(False))
@@ -88,7 +88,7 @@ class RecursiveFlakePipelineTest(wf_testcase.WaterfallTestCase):
mocked_utc_eta = datetime(2016, 9, 21, 1, 0, 0, 0) # Without delay.
self.MockUTCNow(mocked_utc_now)
self.MockUTCNowWithTimezone(mocked_utc_now)
- with mock.patch('lib.time_util.GetDatetimeInTimezone') as (
+ with mock.patch('libs.time_util.GetDatetimeInTimezone') as (
timezone_func), mock.patch('random.randint') as random_func:
timezone_func.side_effect = [mocked_pst_now, mocked_utc_eta]
random_func.side_effect = [seconds_delay, None]
« no previous file with comments | « appengine/findit/waterfall/flake/step_mapper.py ('k') | appengine/findit/waterfall/flake/trigger_flake_analyses_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698