ezodf icon indicating copy to clipboard operation
ezodf copied to clipboard

22 - Reenable support for Flat XML OpenDocumentFormat files

Open jonadem opened this issue 7 years ago • 1 comments

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.

jonadem avatar Jul 26 '17 09:07 jonadem

Hello,

A feedback will be appreciated.

Best regards

jonadem avatar Nov 13 '18 12:11 jonadem