1. Ed Crewe
  2. ilrt.formalworkflow

Commits

Ed Crewe  committed 092c2ba

remove some deprecated style code

  • Participants
  • Parent commits 26bdc80
  • Branches default

Comments (0)

Files changed (1)

File ilrt/formalworkflow/tests/editorpastedelete.txt

View file
 Check we should have the rights to delete this page
 
     >>> page = getattr(portal,another_title)
-    >>> from Products.Five.security import checkPermission
+    >>> from AccessControl.security import checkPermission
     >>> {'selected': 'SELECTED', 'name': 'Editor'} in page.rolesOfPermission('Delete objects')
     True
     >>> 'Editor' in user.getRoles()