| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flaky_tests_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flaky_tests_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flaky_tests_unittest.py
|
| index ad3851592617aeb52f4935fb1db9ae7afe920787..73c1d2df4c57042f81938abcc5007cb1eb0a9273 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flaky_tests_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flaky_tests_unittest.py
|
| @@ -2,11 +2,13 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import optparse
|
| +
|
| from webkitpy.layout_tests.builder_list import BuilderList
|
| from webkitpy.layout_tests.layout_package import bot_test_expectations
|
| from webkitpy.tool.commands import flaky_tests
|
| from webkitpy.tool.commands.command_test import CommandsTest
|
| -from webkitpy.tool.mock_tool import MockWebKitPatch, MockOptions
|
| +from webkitpy.tool.mock_tool import MockWebKitPatch
|
|
|
|
|
| class FakeBotTestExpectations(object):
|
| @@ -73,7 +75,7 @@ class FlakyTestsTest(CommandsTest):
|
| tool = MockWebKitPatch()
|
| tool.builders = self.fake_builders_list()
|
| command.expectations_factory = FakeBotTestExpectationsFactory
|
| - options = MockOptions(upload=True)
|
| + options = optparse.Values({'upload': True})
|
| expected_stdout = flaky_tests.FlakyTests.OUTPUT % (
|
| flaky_tests.FlakyTests.HEADER,
|
| '',
|
|
|