Commit 68743cdd authored by Hanno Schlichting's avatar Hanno Schlichting

Fixed test names to match new values

parent 71a62798
...@@ -76,10 +76,10 @@ class ModuleSecurityTests(unittest.TestCase): ...@@ -76,10 +76,10 @@ class ModuleSecurityTests(unittest.TestCase):
guarded_import, 'AccessControl.tests.nonesuch', ()) guarded_import, 'AccessControl.tests.nonesuch', ())
self.failUnless('AccessControl.tests.nonesuch' in MS) self.failUnless('AccessControl.tests.nonesuch' in MS)
def test_level_zero(self): def test_level_default(self):
self.assertAuth('AccessControl.tests.public_module', (), level=-1) self.assertAuth('AccessControl.tests.public_module', (), level=-1)
def test_level_nonzero(self): def test_level_nondefault(self):
self.assertUnauth('AccessControl.tests.public_module', (), level=1) self.assertUnauth('AccessControl.tests.public_module', (), level=1)
......
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