| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/multi_command_tool_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/multi_command_tool_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/multi_command_tool_unittest.py
|
| index 10d9ede0d6ea0c4d32103d9dda2b00857f445367..9b003e431fa03583a34dd18997fee4fd20927aa5 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/multi_command_tool_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/multi_command_tool_unittest.py
|
| @@ -32,7 +32,7 @@ from optparse import make_option
|
|
|
| from webkitpy.common.system.outputcapture import OutputCapture
|
| from webkitpy.tool.multi_command_tool import MultiCommandTool
|
| -from webkitpy.tool.commands import Command
|
| +from webkitpy.tool.commands.command import Command
|
|
|
|
|
| class TrivialCommand(Command):
|
| @@ -85,8 +85,7 @@ class MultiCommandToolTest(unittest.TestCase):
|
| self._assert_split(full_args, full_args_expected)
|
|
|
| def test_command_by_name(self):
|
| - # This also tests Command auto-discovery.
|
| - tool = TrivialTool()
|
| + tool = TrivialTool(commands=[TrivialCommand(), UncommonCommand()])
|
| self.assertEqual(tool.command_by_name("trivial").name, "trivial")
|
| self.assertIsNone(tool.command_by_name("bar"))
|
|
|
|
|