Commit 1c6a550d authored by Łukasz Nowak's avatar Łukasz Nowak

Test Credential Update Module.

parent 5499e721
...@@ -234,3 +234,11 @@ class TestComputerPartition(TestSlapOSGroupRoleSecurityMixin): ...@@ -234,3 +234,11 @@ class TestComputerPartition(TestSlapOSGroupRoleSecurityMixin):
test_SoftwareInstanceGroupRelatedToComputerPartition = \ test_SoftwareInstanceGroupRelatedToComputerPartition = \
test_CustomerOfThePartition test_CustomerOfThePartition
class TestCredentialUpdateModule(TestSlapOSGroupRoleSecurityMixin):
def test(self):
module = self.portal.credential_update_module
self.assertSecurityGroup(module,
['zope', 'R-MEMBER'], False)
self.assertRoles(module, 'R-MEMBER', ['Auditor', 'Author'])
self.assertRoles(module, 'zope', ['Owner'])
42 43
\ 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