[Erp5-report] r43505 gabriel - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 21 01:10:41 CET 2011


Author: gabriel
Date: Mon Feb 21 01:10:40 2011
New Revision: 43505

URL: http://svn.erp5.org?rev=43505&view=rev
Log:
don't need pass the display id, because Xvfb isn't used anymore

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testApplication.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testApplication.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testApplication.py?rev=43505&r1=43504&r2=43505&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testApplication.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testApplication.py [utf8] Mon Feb 21 01:10:40 2011
@@ -36,20 +36,19 @@ class TestApplication(unittest.TestCase)
   def setUp(self):
     """Instantiate one application object and load settings on object"""
     self.application = Application()
-    self.application.loadSettings('localhost', 9999, '/tmp/', '99')
+    self.application.loadSettings('localhost', 9999, '/tmp/')
 
   def testLoadSettings(self):
     """Test if settings are defined correctly"""
     self.assertEquals(self.application.hostname, 'localhost')
     self.assertEquals(self.application.port, 9999)
     self.assertEquals(self.application.path_run_dir, '/tmp/')
-    self.assertEquals(self.application.display_id, '99')
 
   def testStartTimeout(self):
     """Test if the attribute timeout is defined correctly"""
     self.assertEquals(self.application.timeout, 20)
     application = Application()
-    application.loadSettings('localhost', 9999, '/', '99', start_timeout=25)
+    application.loadSettings('localhost', 9999, '/', start_timeout=25)
     self.assertEquals(application.timeout, 25)
 
   def testgetAddress(self):



More information about the Erp5-report mailing list