ezodf
ezodf copied to clipboard
22 - Reenable support for Flat XML OpenDocumentFormat files
A ".fodt" document is already in the repository. I could test my commit with this small modification :
diff --git a/tests/test_variables.py b/tests/test_variables.py
index a02b2fc..bc46de9 100644
--- a/tests/test_variables.py
+++ b/tests/test_variables.py
@@ -107,7 +107,7 @@ class TestSimpleVariables(unittest.TestCase): # {{{1
def test_simple_variables_integeational(self): # {{{2
"""Not exactly unittest but very usefull"""
- doc = opendoc("tests/data/variables.odt")
+ doc = opendoc("tests/data/variables.fodt")
self.assertTrue(isinstance(doc.body.variables,
GenericWrapper))
self.assertTrue(isinstance(doc.body.variables,
But I didn't dig into the test code, I let the addition of the test to read a ".fodt" document to someone else.
Hello,
A feedback will be appreciated.
Best regards