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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.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/port/linux_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.py
index a046dc4fd5f3460962888884ffc9c657ec7755bb..ee8042a786487bec6465911537be5207c978a796 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.py
@@ -43,9 +43,7 @@ class LinuxPortTest(port_testcase.PortTestCase):
full_port_name = 'linux-trusty'
port_maker = linux.LinuxPort
- def assert_version_properties(self, port_name, os_version, expected_name,
- expected_version,
- driver_file_output=None):
+ def assert_version_properties(self, port_name, os_version, expected_name, expected_version, driver_file_output=None):
host = MockSystemHost(os_name=self.os_name, os_version=(os_version or self.os_version))
host.filesystem.isfile = lambda x: 'content_shell' in x
if driver_file_output:
@@ -62,8 +60,7 @@ class LinuxPortTest(port_testcase.PortTestCase):
self.assert_version_properties('linux-trusty', None, 'linux-trusty', 'trusty')
self.assert_version_properties('linux-precise', None, 'linux-precise', 'precise')
- self.assertRaises(AssertionError, self.assert_version_properties,
- 'linux-utopic', None, 'ignored', 'ignored', 'ignored')
+ self.assertRaises(AssertionError, self.assert_version_properties, 'linux-utopic', None, 'ignored', 'ignored', 'ignored')
def assert_baseline_paths(self, port_name, os_version, *expected_paths):
port = self.make_port(port_name=port_name, os_version=os_version)

Powered by Google App Engine
This is Rietveld 408576698