| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
|
| index 0edb1f1c0eb123147b937752009d6343ec1c528f..56ec066b44240e5358c9ad6e4c5e343c67053ff5 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
|
| @@ -297,6 +297,13 @@ class RebaselineCLTest(BaseTestCase, LoggingTestCase):
|
| self.command.builders_with_pending_builds([Build('MOCK Try Linux', None), Build('MOCK Try Win', 123)]),
|
| {'MOCK Try Linux'})
|
|
|
| + def test_builders_with_no_results(self):
|
| + # In this example, Linux has a pending build, and Mac has no build.
|
| + # MOCK Try Mac is listed because it's listed in the BuilderList in setUp.
|
| + self.assertEqual(
|
| + self.command.builders_with_no_results([Build('MOCK Try Linux', None), Build('MOCK Try Win', 123)]),
|
| + {'MOCK Try Mac', 'MOCK Try Linux'})
|
| +
|
| def test_bails_when_one_build_is_missing_results(self):
|
| self.tool.buildbot.set_results(Build('MOCK Try Win', 5000), None)
|
| return_code = self.command.execute(self.command_options(), [], self.tool)
|
|
|