Commit 63a16a9c authored by Tatuya Kamada's avatar Tatuya Kamada

- comment out test file output logic

- modify comments
- append a ImageField mapping test skelton


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26510 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46d3e992
...@@ -486,8 +486,8 @@ class TestFormPrintout(ERP5TypeTestCase): ...@@ -486,8 +486,8 @@ class TestFormPrintout(ERP5TypeTestCase):
self.assertTrue(listboxline_list[1].getColumnProperty('title') == "foo_title_6") self.assertTrue(listboxline_list[1].getColumnProperty('title') == "foo_title_6")
odf_document = foo_printout.index_html(REQUEST=request) odf_document = foo_printout.index_html(REQUEST=request)
test_output = open("/tmp/test_02_06_Table.odf", "w") #test_output = open("/tmp/test_02_06_Table.odf", "w")
test_output.write(odf_document) #test_output.write(odf_document)
self.assertTrue(odf_document is not None) self.assertTrue(odf_document is not None)
builder = OOoBuilder(odf_document) builder = OOoBuilder(odf_document)
content_xml = builder.extract("content.xml") content_xml = builder.extract("content.xml")
...@@ -581,7 +581,7 @@ class TestFormPrintout(ERP5TypeTestCase): ...@@ -581,7 +581,7 @@ class TestFormPrintout(ERP5TypeTestCase):
def _test_03_Frame(self, run=run_all_test): def _test_03_Frame(self, run=run_all_test):
""" """
Frame not supported yet Frame not tested yet
""" """
pass pass
...@@ -695,6 +695,12 @@ return [] ...@@ -695,6 +695,12 @@ return []
""" """
pass pass
def _test_07_Image(self, run=run_all_test):
"""
Image mapping not tested yet
"""
pass
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestFormPrintout)) suite.addTest(unittest.makeSuite(TestFormPrintout))
......
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