Commit ac016c58 authored by Tatuya Kamada's avatar Tatuya Kamada

Stop output a file.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8cba84ac
...@@ -307,8 +307,8 @@ class TestFormPrintout(ERP5TypeTestCase): ...@@ -307,8 +307,8 @@ class TestFormPrintout(ERP5TypeTestCase):
odf_document = foo_printout() odf_document = foo_printout()
self.assertTrue(odf_document is not None) self.assertTrue(odf_document is not None)
test_output = open("/tmp/test_01_Paragraph_09_RangeReferenceWithSpan.odf", "w") #test_output = open("/tmp/test_01_Paragraph_09_RangeReferenceWithSpan.odf", "w")
test_output.write(odf_document) #test_output.write(odf_document)
builder = OOoBuilder(odf_document) builder = OOoBuilder(odf_document)
content_xml = builder.extract("content.xml") content_xml = builder.extract("content.xml")
self.assertTrue(content_xml.find("ZZZ test here ZZZ") > 0) self.assertTrue(content_xml.find("ZZZ test here ZZZ") > 0)
......
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