Commit cd0db362 authored by Gabriel Monnerat's avatar Gabriel Monnerat

cleanup

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45711 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cf3c7451
...@@ -456,7 +456,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -456,7 +456,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Creator') self.assertEquals(person.getLastName(), 'Creator')
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(), "ung_user")
person = portal_catalog.getResultValue(portal_type="Person", person = portal_catalog.getResultValue(portal_type="Person",
reference="french_assignee") reference="french_assignee")
self.assertEquals(person.getValidationState(), 'validated') self.assertEquals(person.getValidationState(), 'validated')
...@@ -464,7 +464,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -464,7 +464,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Assignee') self.assertEquals(person.getLastName(), 'Assignee')
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(), "ung_user")
person = portal_catalog.getResultValue(portal_type="Person", person = portal_catalog.getResultValue(portal_type="Person",
reference="french_assignor") reference="french_assignor")
self.assertEquals(person.getValidationState(), 'validated') self.assertEquals(person.getValidationState(), 'validated')
...@@ -472,7 +472,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -472,7 +472,7 @@ class TestUNGConfiguratorWorkflowFranceLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Assignor') self.assertEquals(person.getLastName(), 'Assignor')
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(), "ung_user")
def stepCheckWebSiteRoles(self, sequence=None, sequence_list=None, **kw): def stepCheckWebSiteRoles(self, sequence=None, sequence_list=None, **kw):
""" Check permission of Web Site with normal user """ """ Check permission of Web Site with normal user """
...@@ -551,7 +551,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -551,7 +551,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Creator') self.assertEquals(person.getLastName(), 'Creator')
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(), "ung_user")
person = portal_catalog.getResultValue(portal_type="Person", person = portal_catalog.getResultValue(portal_type="Person",
reference="person_assignee") reference="person_assignee")
self.assertEquals(person.getValidationState(), 'validated') self.assertEquals(person.getValidationState(), 'validated')
...@@ -559,7 +559,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -559,7 +559,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Assignee') self.assertEquals(person.getLastName(), 'Assignee')
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(), "ung_user")
person = portal_catalog.getResultValue(portal_type="Person", person = portal_catalog.getResultValue(portal_type="Person",
reference="person_assignor") reference="person_assignor")
self.assertEquals(person.getValidationState(), 'validated') self.assertEquals(person.getValidationState(), 'validated')
...@@ -567,7 +567,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin ...@@ -567,7 +567,7 @@ class TestUNGConfiguratorWorkflowBrazilLanguage(TestUNGConfiguratorWorkflowMixin
self.assertEquals(person.getLastName(), 'Assignor') self.assertEquals(person.getLastName(), 'Assignor')
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(), "ung_user")
def stepCheckWebSiteRoles(self, sequence=None, sequence_list=None, **kw): def stepCheckWebSiteRoles(self, sequence=None, sequence_list=None, **kw):
""" Check permission of Web Site with normal user """ """ Check permission of Web Site with normal user """
......
45 46
\ 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