Commit 03030aac authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove code that is used to debug only

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 782e63a6
......@@ -45,8 +45,7 @@ class TestPDFHandler(HandlerTestCase):
def testgetMetadata(self):
"""Test if the metadata are extracted correctly"""
pdf_document = open("data/test.pdf").read()
kw = dict(env=dict(PATH="/hd/cloudooo_handler_ooo/software/parts/xpdf/bin"))
handler = PDFHandler(self.tmp_url, pdf_document, "pdf", **kw)
handler = PDFHandler(self.tmp_url, pdf_document, "pdf")
metadata = handler.getMetadata()
self.assertEquals(type(metadata), DictType)
self.assertNotEquals(metadata, {})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment