Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 17:53:25 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:32 (GMT)
commite2231d56203dcc58cc8a8a873ab1eef1b56a629e (patch)
tree4ab1f9f1c4284515a1f83cb359b1d89c3c938a54 /tests/lib
parent131c28bb724d89900a1707ad4cae726ba8e9ce5a (diff)
PEP8 cleanup: fix number of blank lines
Caught by pep8. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/test_mime.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/test_mime.py b/tests/lib/test_mime.py
index 9a9ad61..fd7006b 100644
--- a/tests/lib/test_mime.py
+++ b/tests/lib/test_mime.py
@@ -22,6 +22,7 @@ import unittest
from sugar import mime
+
class TestMime(unittest.TestCase):
def test_from_file_name(self):
self.assertEqual(mime.get_from_file_name('test.pdf'),
@@ -76,6 +77,6 @@ class TestMime(unittest.TestCase):
'text/plain'])
self.assertEqual(mime_type, 'text/plain')
+
if __name__ == "__main__":
unittest.main()
-