From 4d978fda14f7029dca7ec9925ac3716c56a74875 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 18:04:34 +0000 Subject: PEP8 cleanup: ensure lines are shorter than 80 characters Caught by PEP8. This is important for Sugar because the XO has a small screen where long lines would make the code hard to understand (because you need to constantly scroll horizontally). Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'tests') diff --git a/tests/lib/test_mime.py b/tests/lib/test_mime.py index fd7006b..860bbdb 100644 --- a/tests/lib/test_mime.py +++ b/tests/lib/test_mime.py @@ -37,15 +37,17 @@ class TestMime(unittest.TestCase): # Mozilla's text in c&v mime_type = mime.choose_most_significant( - ['text/_moz_htmlcontext', 'STRING', 'text/html', 'text/_moz_htmlinfo', - 'text/x-moz-url-priv', 'UTF8_STRING', 'COMPOUND_TEXT']) + ['text/_moz_htmlcontext', 'STRING', 'text/html', + 'text/_moz_htmlinfo', 'text/x-moz-url-priv', 'UTF8_STRING', + 'COMPOUND_TEXT']) self.assertEqual(mime_type, 'text/html') # Mozilla gif in dnd mime_type = mime.choose_most_significant( ['application/x-moz-file-promise-url', - 'application/x-moz-file-promise-dest-filename', 'text/_moz_htmlinfo', - 'text/x-moz-url-desc', 'text/_moz_htmlcontext', 'text/x-moz-url-data', + 'application/x-moz-file-promise-dest-filename', + 'text/_moz_htmlinfo', 'text/x-moz-url-desc', + 'text/_moz_htmlcontext', 'text/x-moz-url-data', 'text/uri-list']) self.assertEqual(mime_type, 'text/uri-list') -- cgit v0.9.1