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

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

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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/commandtest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commandtest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commandtest.py
index 243291ca631581f374d7c59e3677c22fa74e51be..1c6c6dbf3b96e6b5bcb030af7b49e52d6561a4eb 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commandtest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commandtest.py
@@ -33,6 +33,7 @@ from webkitpy.tool.mocktool import MockOptions, MockTool
class CommandsTest(unittest.TestCase):
+
def assert_execute_outputs(self, command, args=[], expected_stdout="", expected_stderr="", expected_exception=None, expected_logs=None, options=MockOptions(), tool=MockTool()):
options.blocks = None
options.cc = 'MOCK cc'
@@ -47,4 +48,5 @@ class CommandsTest(unittest.TestCase):
options.quiet = True
options.reviewer = 'MOCK reviewer'
command.bind_to_tool(tool)
- OutputCapture().assert_outputs(self, command.execute, [options, args, tool], expected_stdout=expected_stdout, expected_stderr=expected_stderr, expected_exception=expected_exception, expected_logs=expected_logs)
+ OutputCapture().assert_outputs(self, command.execute, [options, args, tool], expected_stdout=expected_stdout,
+ expected_stderr=expected_stderr, expected_exception=expected_exception, expected_logs=expected_logs)

Powered by Google App Engine
This is Rietveld 408576698