[Erp5-report] r26510 - /erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 20 10:33:39 CEST 2009


Author: tatuya
Date: Mon Apr 20 10:33:37 2009
New Revision: 26510

URL: http://svn.erp5.org?rev=26510&view=rev
Log:
- comment out test file output logic
- modify comments
- append a ImageField mapping test skelton

Modified:
    erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py

Modified: erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py?rev=26510&r1=26509&r2=26510&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testFormPrintout.py [utf8] Mon Apr 20 10:33:37 2009
@@ -486,8 +486,8 @@
     self.assertTrue(listboxline_list[1].getColumnProperty('title') == "foo_title_6")
     
     odf_document = foo_printout.index_html(REQUEST=request)
-    test_output = open("/tmp/test_02_06_Table.odf", "w")
-    test_output.write(odf_document)
+    #test_output = open("/tmp/test_02_06_Table.odf", "w")
+    #test_output.write(odf_document)
     self.assertTrue(odf_document is not None)
     builder = OOoBuilder(odf_document)
     content_xml = builder.extract("content.xml")
@@ -581,7 +581,7 @@
     
   def _test_03_Frame(self, run=run_all_test):
     """
-    Frame not supported yet
+    Frame not tested yet
     """
     pass
 
@@ -695,6 +695,12 @@
     """
     pass
 
+  def _test_07_Image(self, run=run_all_test):
+    """
+    Image mapping not tested yet
+    """
+    pass
+
 def test_suite():
   suite = unittest.TestSuite()
   suite.addTest(unittest.makeSuite(TestFormPrintout))




More information about the Erp5-report mailing list