| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
|
| index 39d235bbfdc7b6c5de9992c43685dc54361cacc8..da91957ff01169f34759c1f200de064a1881e9d4 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
|
| @@ -30,9 +30,8 @@
|
| import unittest
|
|
|
| from webkitpy.common.system.outputcapture import OutputCapture
|
| -from webkitpy.layout_tests.port.test import TestPort
|
| from webkitpy.tool.commands.queries import *
|
| -from webkitpy.tool.mock_tool import MockTool, MockOptions
|
| +from webkitpy.tool.mock_tool import MockWebKitPatch, MockOptions
|
|
|
|
|
| class PrintExpectationsTest(unittest.TestCase):
|
| @@ -40,7 +39,7 @@ class PrintExpectationsTest(unittest.TestCase):
|
| def run_test(self, tests, expected_stdout, platform='test-win-win7', **args):
|
| options = MockOptions(all=False, csv=False, full=False, platform=platform,
|
| include_keyword=[], exclude_keyword=[], paths=False).update(**args)
|
| - tool = MockTool()
|
| + tool = MockWebKitPatch()
|
| tool.port_factory.all_port_names = lambda: [
|
| 'test-linux-trusty', 'test-linux-precise',
|
| 'test-mac-mac10.11', 'test-mac-mac10.10',
|
| @@ -112,7 +111,7 @@ class PrintBaselinesTest(unittest.TestCase):
|
|
|
| def setUp(self):
|
| self.oc = None
|
| - self.tool = MockTool()
|
| + self.tool = MockWebKitPatch()
|
| self.test_port = self.tool.port_factory.get('test-win-win7')
|
| self.tool.port_factory.get = lambda port_name=None: self.test_port
|
| self.tool.port_factory.all_port_names = lambda: [
|
|
|