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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 29 13:59:39 CET 2007


Author: jerome
Date: Thu Nov 29 13:59:39 2007
New Revision: 17903

URL: http://svn.erp5.org?rev=17903&view=rev
Log:
make sure we don't display Leaves in organisation's function view

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=17903&r1=17902&r2=17903&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5HR.py (original)
+++ erp5/trunk/products/ERP5/tests/testERP5HR.py Thu Nov 29 13:59:39 2007
@@ -898,6 +898,7 @@
     # on Organisation_view, the user usually select node for functions:
     organisation_view_html = organisation.Organisation_view()
     self.assertTrue('Function Node' in organisation_view_html)
+    self.assertTrue('Function Leave' not in organisation_view_html)
     # person acquire function from the organisation
     self.assertEquals(person.getFunctionValue(), function_node)
     # but the user interface does not show the acquired value in this case




More information about the Erp5-report mailing list