Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py |
index 82b53886e4a9b94fc4addda248e7bb306051ae8c..42a147dd3abcf29f53e19130d2a5e94d551d1889 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py |
@@ -67,7 +67,9 @@ PCI Card: NVIDIA GeForce GT 120, sppci_displaycontroller, MXM-Slot |
Serial ATA Device: OPTIARC DVD RW AD-5670S |
""".format(process_name=process_name, pid=pid) |
+ |
class CrashLogsTest(unittest.TestCase): |
+ |
def test_find_log_darwin(self): |
if not SystemHost().platform.is_mac(): |
return |
@@ -76,7 +78,8 @@ class CrashLogsTest(unittest.TestCase): |
mock_crash_report = make_mock_crash_report_darwin('DumpRenderTree', 28530) |
newer_mock_crash_report = make_mock_crash_report_darwin('DumpRenderTree', 28529) |
other_process_mock_crash_report = make_mock_crash_report_darwin('FooProcess', 28527) |
- misformatted_mock_crash_report = 'Junk that should not appear in a crash report' + make_mock_crash_report_darwin('DumpRenderTree', 28526)[200:] |
+ misformatted_mock_crash_report = 'Junk that should not appear in a crash report' + \ |
+ make_mock_crash_report_darwin('DumpRenderTree', 28526)[200:] |
files = {} |
files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150718_quadzen.crash'] = older_mock_crash_report |
files['/Users/mock/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150719_quadzen.crash'] = mock_crash_report |