| changeset 0 | 40c8f766c9b8 |
| -1:000000000000 | 0:40c8f766c9b8 |
|---|---|
1 import random |
|
2 import unittest |
|
3 |
|
4 from cm.converters import convert_from_mimetype |
|
5 |
|
6 class TestConvert(unittest.TestCase): |
|
7 |
|
8 def test_oo_convert(self): |
|
9 res, attachs = convert_from_mimetype('cm/converters/tests/data/ooserver_can_convert_me01.doc', 'application/vnd.oasis.opendocument.text', 'markdown') |
|
10 print res |
|
11 |
|
12 |
|
13 if __name__ == '__main__': |
|
14 unittest.main() |