Commit c9fc00e9 authored by Jérome Perrin's avatar Jérome Perrin

two tests methods were using the same name



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8822 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c6c8364
...@@ -173,7 +173,7 @@ class TestERP5Security(ERP5TypeTestCase): ...@@ -173,7 +173,7 @@ class TestERP5Security(ERP5TypeTestCase):
self._makePerson(reference='', password='secret', career_role='internal') self._makePerson(reference='', password='secret', career_role='internal')
self._assertUserDoesNotExists('', 'secret') self._assertUserDoesNotExists('', 'secret')
def test_PersonWithSuperUserLogin(self, run=RUN_ALL_TESTS): def test_PersonWithSuperUserLoginCannotBeCreated(self, run=RUN_ALL_TESTS):
"""Tests one cannot create person with the "super user" special login.""" """Tests one cannot create person with the "super user" special login."""
from Products.ERP5Security.ERP5UserManager import SUPER_USER from Products.ERP5Security.ERP5UserManager import SUPER_USER
self.assertRaises(RuntimeError, self._makePerson, reference=SUPER_USER) self.assertRaises(RuntimeError, self._makePerson, reference=SUPER_USER)
......
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