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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py

Issue 1806393002: Run yapf on files in webkit/layout_tests/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/layout_tests/models/test_input.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py
index b188a5b670c7efaab48b4300ccd74525f3d2ce47..b67f00e8012f44866496fc811d892437df9a396b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py
@@ -31,7 +31,13 @@
class TestInput(object):
"""Groups information about a test for easy passing of data."""
- def __init__(self, test_name, timeout=None, requires_lock=None, reference_files=None, should_run_pixel_test=None, should_add_missing_baselines=True):
+ def __init__(self,
+ test_name,
+ timeout=None,
+ requires_lock=None,
+ reference_files=None,
+ should_run_pixel_test=None,
+ should_add_missing_baselines=True):
# TestInput objects are normally constructed by the manager and passed
# to the workers, but these some fields are set lazily in the workers where possible
# because they require us to look at the filesystem and we want to be able to do that in parallel.
@@ -43,4 +49,6 @@ class TestInput(object):
self.should_add_missing_baselines = should_add_missing_baselines
def __repr__(self):
- return "TestInput('%s', timeout=%s, requires_lock=%s, reference_files=%s, should_run_pixel_test=%s, should_add_missing_baselines=%s)" % (self.test_name, self.timeout, self.requires_lock, self.reference_files, self.should_run_pixel_test, self.should_add_missing_baselines)
+ return "TestInput('%s', timeout=%s, requires_lock=%s, reference_files=%s, should_run_pixel_test=%s, should_add_missing_baselines=%s)" % (
+ self.test_name, self.timeout, self.requires_lock, self.reference_files, self.should_run_pixel_test,
+ self.should_add_missing_baselines)

Powered by Google App Engine
This is Rietveld 408576698