Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/test_conversion.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_conversion.py')
-rw-r--r--tests/test_conversion.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/test_conversion.py b/tests/test_conversion.py
deleted file mode 100644
index aa6f1a9..0000000
--- a/tests/test_conversion.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import unittest
-
-from olpc.datastore.converter import converter
-from StringIO import StringIO
-
-class Test(unittest.TestCase):
-
- def test_unicode(self):
- # read each of the test files in doing conversion,
- # there should be no unicode errors
- fn_expectations = {
- 'test.pdf' : 'Don\'t',
- 'test.doc' : 'amazed.',
- 'test.odt' : 'amazed.',
- 'plugger.pdf' : 'Plugger',
- 'funkyabi.odt' : 'vaca'
- }
- for fn, expect in fn_expectations.iteritems():
- assert expect in converter(fn).read()
-
-
-
-def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(Test))
- return suite
-
-if __name__ == "__main__":
- unittest.main()
-