| Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations_unittest.py
|
| index 0d7ccc3f659a5cae6812eec1662e142fd102100e..cf03d243dd9fe25d6832a64b8b43b61ee7052fcf 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations_unittest.py
|
| @@ -10,8 +10,8 @@ from webkitpy.common.net.buildbot import Build
|
| from webkitpy.common.net.buildbot_mock import MockBuildBot
|
| from webkitpy.common.net.layout_test_results import LayoutTestResult, LayoutTestResults
|
| from webkitpy.common.net.web_mock import MockWeb
|
| +from webkitpy.common.system.executive_mock import MockExecutive
|
| from webkitpy.common.system.log_testing import LoggingTestCase
|
| -from webkitpy.common.system.executive_mock import MockExecutive2
|
| from webkitpy.layout_tests.builder_list import BuilderList
|
| from webkitpy.w3c.update_w3c_test_expectations import W3CExpectationsLineAdder, MARKER_COMMENT
|
|
|
| @@ -323,7 +323,7 @@ class UpdateW3CTestExpectationsTest(LoggingTestCase):
|
| ]
|
| self.host.filesystem.files['/mock-checkout/third_party/WebKit/LayoutTests/a/b.html'] = ''
|
| self.host.filesystem.files['/mock-checkout/x/y/z.cc'] = ''
|
| - self.host.executive = MockExecutive2(output='\n'.join(modified_files))
|
| + self.host.executive = MockExecutive(output='\n'.join(modified_files))
|
| tests = line_adder.get_modified_existing_tests()
|
| self.assertEqual(tests, ['a/b.html'])
|
| self.assertEqual(self.host.executive.calls, [['git', 'diff', 'origin/master', '--name-only', '--diff-filter=AMR']])
|
|
|