[Libreoffice-commits] .: test/doc

Miklos Vajna vmiklos at kemper.freedesktop.org
Tue Dec 4 03:29:47 PST 2012


 test/doc/test.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1a6b062634f57ea127163e3ba2f0b551bd03cefd
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Tue Dec 4 12:29:43 2012 +0100

    doc tests: no more todo in test docs

diff --git a/test/doc/test.py b/test/doc/test.py
index 546c141..cbb866b 100755
--- a/test/doc/test.py
+++ b/test/doc/test.py
@@ -28,6 +28,8 @@ class Test(unittest.TestCase):
         sock.close()
         tree = ElementTree.parse('%s.doc.xml' % name)
         self.root = tree.getroot()
+        # Make sure everything is dumped - so it can't happen that dump(a) == dump(b), but a != b.
+        self.assertEqual(0, len(self.root.findall('todo')))
 
     def getFontId(self, name):
         fonts = self.root.findall('stream[@name="WordDocument"]/fib/fibRgFcLcbBlob/lcbSttbfFfn/sttbfFfn/cchData')


More information about the Libreoffice-commits mailing list