| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from collections import defaultdict | 5 from collections import defaultdict |
| 6 from datetime import datetime | 6 from datetime import datetime |
| 7 | 7 |
| 8 from google.appengine.api import users | 8 from google.appengine.api import users |
| 9 | 9 |
| 10 from common import constants | 10 from common import constants |
| 11 from common.base_handler import BaseHandler | 11 from common.base_handler import BaseHandler, Permission |
| 12 from common.base_handler import Permission | |
| 13 from common.waterfall import failure_type | 12 from common.waterfall import failure_type |
| 14 from handlers import handlers_util | 13 from handlers import handlers_util |
| 15 from handlers import result_status | 14 from handlers import result_status |
| 16 from handlers.result_status import NO_TRY_JOB_REASON_MAP | 15 from handlers.result_status import NO_TRY_JOB_REASON_MAP |
| 17 from model import analysis_status | 16 from model import analysis_status |
| 18 from model.wf_analysis import WfAnalysis | 17 from model.wf_analysis import WfAnalysis |
| 19 from model.wf_try_job import WfTryJob | 18 from model.wf_try_job import WfTryJob |
| 20 from model.result_status import RESULT_STATUS_TO_DESCRIPTION | 19 from model.result_status import RESULT_STATUS_TO_DESCRIPTION |
| 21 from waterfall import build_failure_analysis_pipelines | 20 from waterfall import build_failure_analysis_pipelines |
| 22 from waterfall import buildbot | 21 from waterfall import buildbot |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 } | 408 } |
| 410 else: | 409 else: |
| 411 return { | 410 return { |
| 412 'template': 'waterfall/test_failure.html', | 411 'template': 'waterfall/test_failure.html', |
| 413 'data': self._PrepareDataForTestFailures(analysis, build_info, | 412 'data': self._PrepareDataForTestFailures(analysis, build_info, |
| 414 self._ShowDebugInfo()), | 413 self._ShowDebugInfo()), |
| 415 } | 414 } |
| 416 | 415 |
| 417 def HandlePost(self): # pragma: no cover | 416 def HandlePost(self): # pragma: no cover |
| 418 return self.HandleGet() | 417 return self.HandleGet() |
| OLD | NEW |