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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py

Issue 1783073002: Run auto-formatter on files in webkitpy/layout_tests/. (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/layout_tests/controllers/manager_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py
index 80ad5b215220b45f5423ab1222f3825b8552baaa..2247b67e3c10fb54316a51ac01e75cb66d291dc3 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py
@@ -41,11 +41,13 @@ from webkitpy.tool.mocktool import MockOptions
class FakePrinter(object):
+
def write_update(self, s):
pass
class ManagerTest(unittest.TestCase):
+
def test_needs_servers(self):
def get_manager():
host = MockHost()
@@ -108,7 +110,6 @@ class ManagerTest(unittest.TestCase):
self.assertEqual(self.http_stopped, False)
self.assertEqual(self.websocket_stopped, False)
-
def test_look_for_new_crash_logs(self):
def get_manager():
host = MockHost()
@@ -136,7 +137,8 @@ class ManagerTest(unittest.TestCase):
return manager
self._make_fake_test_result(port.host, '/tmp/layout-test-results')
self.assertTrue(port.host.filesystem.exists('/tmp/layout-test-results'))
- timestamp = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime(port.host.filesystem.mtime('/tmp/layout-test-results/results.html')))
+ timestamp = time.strftime(
+ "%Y-%m-%d-%H-%M-%S", time.localtime(port.host.filesystem.mtime('/tmp/layout-test-results/results.html')))
archived_file_name = '/tmp/layout-test-results' + '_' + timestamp
manager = get_manager()
manager._rename_results_folder()

Powered by Google App Engine
This is Rietveld 408576698