Commit 1661fe0f authored by Jérome Perrin's avatar Jérome Perrin

make sure we don't display Leaves in organisation's function view


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17903 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9fe2e565
......@@ -898,6 +898,7 @@ class TestHR(ERP5TypeTestCase):
# 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
......
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