Commit f42303a3 authored by Nicolas Delaby's avatar Nicolas Delaby

Remove useless import

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19106 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 529650a8
......@@ -1670,7 +1670,6 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
ob1.reindexObject()
get_transaction().commit()
self.tic()
from AccessControl import getSecurityManager
user = getSecurityManager().getUser()
self.assertFalse(user.has_permission('View', ob1))
self.assertTrue(user.has_role('Assignee', ob1))
......
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