| 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()
|
|
|