Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/test_mime.py10
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')