src/cm/converters/tests/test_convert.py
author raph
Thu, 15 Jul 2010 16:23:58 +0200
changeset 294 c2c262ac1273
parent 0 40c8f766c9b8
permissions -rw-r--r--
do not show permalink if prefix is used in embed params / minified client update

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