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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/servers/crash_service_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/servers/crash_service_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/servers/crash_service_unittest.py b/Tools/Scripts/webkitpy/layout_tests/servers/crash_service_unittest.py
index 95bf15a4a47aab589ebc2846b8e6d6a441d6fa33..3fe0329ad9ec0e38bbf3effa39182bb02929771f 100644
--- a/Tools/Scripts/webkitpy/layout_tests/servers/crash_service_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/servers/crash_service_unittest.py
@@ -37,6 +37,7 @@ from webkitpy.layout_tests.servers.server_base import ServerError
class TestCrashService(unittest.TestCase):
+
def test_start_cmd(self):
# Fails on win - see https://bugs.webkit.org/show_bug.cgi?id=84726
if sys.platform in ('cygwin', 'win32'):
@@ -44,20 +45,20 @@ class TestCrashService(unittest.TestCase):
host = MockHost()
test_port = test.TestPort(host)
- test_port._path_to_crash_service = lambda: "/mock/crash_service"
+ test_port._path_to_crash_service = lambda: '/mock/crash_service'
- server = CrashService(test_port, "/mock/crash_dumps_dir")
+ server = CrashService(test_port, '/mock/crash_dumps_dir')
self.assertRaises(ServerError, server.start)
def test_win32_start_and_stop(self):
host = MockHost()
test_port = test.TestPort(host)
- test_port._path_to_crash_service = lambda: "/mock/crash_service"
+ test_port._path_to_crash_service = lambda: '/mock/crash_service'
host.platform.is_win = lambda: True
host.platform.is_cygwin = lambda: False
- server = CrashService(test_port, "/mock/crash_dumps_dir")
+ server = CrashService(test_port, '/mock/crash_dumps_dir')
server._check_that_all_ports_are_available = lambda: True
server._is_server_running_on_all_ports = lambda: True

Powered by Google App Engine
This is Rietveld 408576698