src/cm/converters/tests/test_convert.py
author Kirill Miazine <km@krot.org>
Fri, 15 Jan 2010 14:45:36 +0100
changeset 95 a3a2bb69ae27
parent 0 40c8f766c9b8
permissions -rw-r--r--
Translation fixes after a check of translation applied to the UI.

import random
import unittest

from cm.converters import convert_from_mimetype

class TestConvert(unittest.TestCase):

    def test_oo_convert(self):
        res, attachs = convert_from_mimetype('cm/converters/tests/data/ooserver_can_convert_me01.doc', 'application/vnd.oasis.opendocument.text', 'markdown')
        print res
        

if __name__ == '__main__':
    unittest.main()