[Erp5-report] r12078 - /erp5/trunk/products/ERP5/tests/testERP5HR.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Jan 14 10:44:21 CET 2007


Author: jp
Date: Sun Jan 14 10:44:19 2007
New Revision: 12078

URL: http://svn.erp5.org?rev=12078&view=rev
Log:
Use a phone number according to the standard.

Modified:
    erp5/trunk/products/ERP5/tests/testERP5HR.py

Modified: erp5/trunk/products/ERP5/tests/testERP5HR.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5HR.py?rev=12078&r1=12077&r2=12078&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5HR.py (original)
+++ erp5/trunk/products/ERP5/tests/testERP5HR.py Sun Jan 14 10:44:19 2007
@@ -414,8 +414,8 @@
     organisation.setDefaultAddressRegion(region_path)
     organisation.setDefaultAddressZipCode('59000')
     organisation.setDefaultAddressStreetAddress('42, rue des gnous')
-    organisation.setDefaultTelephoneText('55 55 5555')
-    organisation.setDefaultFaxText('69 1337')
+    organisation.setDefaultTelephoneText('+55(0)66-5555') # Phone follows default conventions
+    organisation.setDefaultFaxText('+55(0)69-1337')
     organisation.setDefaultEmailText('kevin at truc-bidule.com')
 
     self.failUnless('default_address' in organisation.contentIds())
@@ -429,7 +429,7 @@
     self.assertEquals( organisation.getDefaultAddressRegion()
                      , default_address.getRegion()
                      )
-#     self.assertEquals( organisation.getDefaultAddressRegionTitle()
+#     self.assertEquals( organisation.getDefaultAddressRegionTitle() # XXX Why ?
 #                      , default_address.getRegionTitle()
 #                      )
 #     self.assertEquals( organisation.getDefaultAddressRegionValue()




More information about the Erp5-report mailing list