src/cm/converters/tests/test_convert.py
author raph
Thu, 10 Dec 2009 15:07:25 +0100
changeset 42 82f6e2879e0a
parent 0 40c8f766c9b8
permissions -rw-r--r--
add tag filter to text share page

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()