Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests.py |
| index 2e9a55d30935bec37fcc049263a295f956f31922..a157b4cfc6c3ab7f6e344d221589638ce6554e9a 100644 |
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests.py |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests.py |
| @@ -32,7 +32,7 @@ import optparse |
| from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand |
| from webkitpy.layout_tests.layout_package.bot_test_expectations import BotTestExpectationsFactory |
| from webkitpy.layout_tests.models.test_expectations import TestExpectationParser, TestExpectationsModel, TestExpectations |
| -from webkitpy.layout_tests.port import builders |
| +from webkitpy.layout_tests.port.builders import Builders |
|
qyearsley
2016/05/02 21:56:36
This import may be unnecessary now. I don't see wh
bokan
2016/05/04 11:58:47
Done.
|
| from webkitpy.common.net import sheriff_calendar |
| @@ -107,8 +107,8 @@ Flakiness dashboard: %s |
| return final_model._test_to_expectation_line.values() |
| def execute(self, options, args, tool): |
| - factory = self.expectations_factory() |
| - lines = self._collect_expectation_lines(builders.all_builder_names(), factory) |
| + factory = self.expectations_factory(tool.builders) |
| + lines = self._collect_expectation_lines(tool.builders.all_builder_names(), factory) |
| lines.sort(key=lambda line: line.path) |
| port = tool.port_factory.get() |