Commit bd45d2bf authored by Gabriel Monnerat's avatar Gabriel Monnerat

add asserts to validate if the System Preference is configurated after UNG Configuration

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c941e32
...@@ -354,6 +354,9 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase): ...@@ -354,6 +354,9 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase):
assignment = person.contentValues(portal_type="Assignment")[0] assignment = person.contentValues(portal_type="Assignment")[0]
self.assertEquals(assignment.getValidationState(), "open") self.assertEquals(assignment.getValidationState(), "open")
self.assertEquals(assignment.getFunction(), "function/ung_user") self.assertEquals(assignment.getFunction(), "function/ung_user")
system_preference = portal_catalog.getResultValue(portal_type="System Preference")
self.assertEquals(system_preference.getPreferredOoodocServerPortNumber(), 8011)
self.assertEquals(system_preference.getPreferredOoodocServerAddress(), "localhost")
def test_ung_workflow_brazil(self): def test_ung_workflow_brazil(self):
""" Test the ung workflow with brazilian language """ """ Test the ung workflow with brazilian language """
......
28 29
\ No newline at end of file \ No newline at end of file
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