| OLD | NEW |
| 1 # Copyright (C) 2009 Google Inc. All rights reserved. | 1 # Copyright (C) 2009 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 BuildBot().builder_results_url_base('WebKit Mac10.8 (dbg)'), | 48 BuildBot().builder_results_url_base('WebKit Mac10.8 (dbg)'), |
| 49 'https://storage.googleapis.com/chromium-layout-test-archives/WebKit
_Mac10_8__dbg_') | 49 'https://storage.googleapis.com/chromium-layout-test-archives/WebKit
_Mac10_8__dbg_') |
| 50 | 50 |
| 51 def test_accumulated_results_url(self): | 51 def test_accumulated_results_url(self): |
| 52 self.assertEqual( | 52 self.assertEqual( |
| 53 BuildBot().accumulated_results_url_base('WebKit Mac10.8 (dbg)'), | 53 BuildBot().accumulated_results_url_base('WebKit Mac10.8 (dbg)'), |
| 54 'https://storage.googleapis.com/chromium-layout-test-archives/WebKit
_Mac10_8__dbg_/results/layout-test-results') | 54 'https://storage.googleapis.com/chromium-layout-test-archives/WebKit
_Mac10_8__dbg_/results/layout-test-results') |
| 55 | 55 |
| 56 def fetch_layout_test_results_with_no_responses(self): | 56 def fetch_layout_test_results_with_no_responses(self): |
| 57 buildbot = BuildBot() | 57 buildbot = BuildBot() |
| 58 buildbot._fetch_file_from_results = lambda: None | 58 buildbot._fetch_file = lambda: None # pylint: disable=protected-access |
| 59 self.assertIsNone(buildbot.fetch_layout_test_results(buildbot.results_ur
l('Builder'))) | 59 self.assertIsNone(buildbot.fetch_layout_test_results(buildbot.results_ur
l('Builder'))) |
| OLD | NEW |