diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-15 18:04:34 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-11-23 16:14:32 (GMT) |
commit | 4d978fda14f7029dca7ec9925ac3716c56a74875 (patch) | |
tree | 8c5d3ecd8bde328be12a751b441f0766acffa594 /tests | |
parent | e2231d56203dcc58cc8a8a873ab1eef1b56a629e (diff) |
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 <quozl@laptop.org>
Acked-by: Simon Schampijer<simon@schampijer.de>
CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/test_mime.py | 10 |
1 files changed, 6 insertions, 4 deletions
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') |