| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
|
| index 2d5260b4325a5112b59504368c5fc100dd2f3567..25d3438e9e953f94072da344fe1111dbd0beafd4 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
|
| @@ -57,8 +57,8 @@ class MacPortTest(port_testcase.PortTestCase):
|
|
|
| # Test that we prefer the legacy dir over the new dir.
|
| options = optparse.Values({'configuration': 'Release', 'build_directory': None})
|
| - self.assert_build_path(options, ['/mock-checkout/xcodebuild/Release',
|
| - '/mock-checkout/out/Release'], '/mock-checkout/xcodebuild/Release')
|
| + self.assert_build_path(
|
| + options, ['/mock-checkout/xcodebuild/Release', '/mock-checkout/out/Release'], '/mock-checkout/xcodebuild/Release')
|
|
|
| def test_build_path_timestamps(self):
|
| options = optparse.Values({'configuration': 'Release', 'build_directory': None})
|
| @@ -74,7 +74,8 @@ class MacPortTest(port_testcase.PortTestCase):
|
|
|
| def test_driver_name_option(self):
|
| self.assertTrue(self.make_port()._path_to_driver().endswith('Content Shell'))
|
| - self.assertTrue(self.make_port(options=optparse.Values(dict(driver_name='OtherDriver')))._path_to_driver().endswith('OtherDriver'))
|
| + port = self.make_port(options=optparse.Values(dict(driver_name='OtherDriver')))
|
| + self.assertTrue(port._path_to_driver().endswith('OtherDriver')) # pylint: disable=protected-access
|
|
|
| def test_path_to_image_diff(self):
|
| self.assertEqual(self.make_port()._path_to_image_diff(), '/mock-checkout/out/Release/image_diff')
|
|
|