Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py

Issue 2192403002: Remove MockOptions, and replace all usages of it with optparse.Values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py
index 413ae798f048c68c587151d14ad9c5b72984001a..b1e4398186d8dcb78ec183f0109f1881ea125b76 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command_test.py
@@ -26,16 +26,17 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+import optparse
import unittest
from webkitpy.common.system.outputcapture import OutputCapture
-from webkitpy.tool.mock_tool import MockOptions, MockWebKitPatch
+from webkitpy.tool.mock_tool import MockWebKitPatch
class CommandsTest(unittest.TestCase):
def assert_execute_outputs(self, command, args=None, expected_stdout="", expected_stderr="",
- expected_exception=None, expected_logs=None, options=MockOptions(), tool=MockWebKitPatch()):
+ expected_exception=None, expected_logs=None, options=optparse.Values(), tool=MockWebKitPatch()):
args = args or []
options.blocks = None
options.cc = 'MOCK cc'

Powered by Google App Engine
This is Rietveld 408576698