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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot_unittest.py

Issue 2446463002: Fetch retry summary and use it to determine what tests to rebaseline. (Closed)
Patch Set: Add test for case where no retry summary can be downloaded Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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
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')))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698