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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py

Issue 546133003: Reformat webkitpy.layout_tests w/ format-webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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: Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py b/Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py
index a58d5d5553614bd1106a422bd46da6320ef1f444..b8daaab6041b017a497ccee5bf47cd7bea5f8f58 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py
@@ -50,8 +50,8 @@ class WinPortTest(port_testcase.PortTestCase):
# FIXME: This test should not use the real os.environ
orig_environ = os.environ.copy()
env = output.assert_outputs(self, port.setup_environ_for_server)
- self.assertEqual(orig_environ["PATH"], os.environ["PATH"])
- self.assertNotEqual(env["PATH"], os.environ["PATH"])
+ self.assertEqual(orig_environ['PATH'], os.environ['PATH'])
+ self.assertNotEqual(env['PATH'], os.environ['PATH'])
def test_setup_environ_for_server_cygpath(self):
port = self.make_port()
@@ -124,7 +124,10 @@ class WinPortTest(port_testcase.PortTestCase):
def test_driver_name_option(self):
self.assertTrue(self.make_port()._path_to_driver().endswith('content_shell.exe'))
- self.assertTrue(self.make_port(options=MockOptions(driver_name='OtherDriver'))._path_to_driver().endswith('OtherDriver.exe'))
+ self.assertTrue(
+ self.make_port(
+ options=MockOptions(
+ driver_name='OtherDriver'))._path_to_driver().endswith('OtherDriver.exe'))
def test_path_to_image_diff(self):
self.assertEqual(self.make_port()._path_to_image_diff(), '/mock-checkout/out/Release/image_diff.exe')
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/win.py ('k') | Tools/Scripts/webkitpy/layout_tests/print_layout_test_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698