Chromium Code Reviews| 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 bf48922a69ab9d67afc6f4e27d6a4316b07ba6de..825b1a6c435cdb3059c87760a0fe42a442499960 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 |
| @@ -161,14 +161,12 @@ class RebaselineCLTest(BaseTestCase, LoggingTestCase): |
| """Tests the list of commands that are invoked when rebaseline is called.""" |
| # First write test contents to the mock filesystem so that |
| # fast/dom/prototype-taco.html is considered a real test to rebaseline. |
| - # TODO(qyearsley): Change this to avoid accessing protected methods. |
| - # pylint: disable=protected-access |
| port = self.tool.port_factory.get('test-win-win7') |
| self._write( |
| - port._filesystem.join(port.layout_tests_dir(), 'fast/dom/prototype-taco.html'), |
| + port.host.filesystem.join(port.layout_tests_dir(), 'fast/dom/prototype-taco.html'), |
|
jeffcarp
2016/10/05 21:17:44
This looks like it might not belong in this CL?
qyearsley
2016/10/05 23:09:52
You're right -- it's not related to the topic of t
|
| 'test contents') |
| - self.command._rebaseline( |
| + self.command.rebaseline( |
| self.command_options(issue=11112222), |
| {"fast/dom/prototype-taco.html": {Build("MOCK Try Win", 5000): ["txt", "png"]}}) |