Skip to content

Commit

Permalink
fix wrong multiple containment test
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Feb 1, 2016
1 parent 0e78648 commit b4e128a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/testing/z2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The test may now inspect and modify the environment.::

>>> app = z2.INTEGRATION_TESTING['app'] # would normally be self.layer['app']
>>> app.manage_addFolder('folder1')
>>> 'acl_users' and 'folder1' in app.objectIds()
>>> 'acl_users' in app.objectIds() and 'folder1' in app.objectIds()
True

The request is also available:::
Expand Down Expand Up @@ -313,7 +313,7 @@ It may also commit things.::

>>> app = z2.FUNCTIONAL_TESTING['app'] # would normally be self.layer['app']
>>> app.manage_addFolder('folder1')
>>> 'acl_users' and 'folder1' in app.objectIds()
>>> 'acl_users' in app.objectIds() and 'folder1' in app.objectIds()
True

>>> import transaction
Expand Down

0 comments on commit b4e128a

Please sign in to comment.