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

Unified Diff: dashboard/dashboard/start_try_job_test.py

Issue 3013753002: [pinpoint] Increase Gitiles service timeout. (Closed)
Patch Set: Dashboard unit tests. Created 3 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
« no previous file with comments | « dashboard/dashboard/services/gitiles_service_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/start_try_job_test.py
diff --git a/dashboard/dashboard/start_try_job_test.py b/dashboard/dashboard/start_try_job_test.py
index b4747d64794b09626baeca9fa906639e4beca130..7fe4f0ea55e598dbcbacddbfac589b5faedd0578 100644
--- a/dashboard/dashboard/start_try_job_test.py
+++ b/dashboard/dashboard/start_try_job_test.py
@@ -246,7 +246,8 @@ _TEST_EXPECTED_BOT = None
_TEST_EXPECTED_CONFIG_CONTENTS = None
-def _MockFetch(url=None):
+def _MockFetch(url=None, deadline=None):
+ del deadline
if start_try_job._BISECT_CONFIG_PATH in url:
return testing_common.FakeResponseObject(
200, base64.encodestring(_BISECT_CONFIG_CONTENTS))
@@ -255,7 +256,9 @@ def _MockFetch(url=None):
200, base64.encodestring(_PERF_CONFIG_CONTENTS))
-def _MockFailedFetch(url=None): # pylint: disable=unused-argument
+def _MockFailedFetch(url=None, deadline=None):
+ del url
+ del deadline
return testing_common.FakeResponseObject(404, {})
« no previous file with comments | « dashboard/dashboard/services/gitiles_service_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698