Skip to content

Commit

Permalink
Merge pull request #66 from plone/davisagli-zope4
Browse files Browse the repository at this point in the history
don't test for tabs that aren't present in Zope 4
  • Loading branch information
davisagli authored Feb 1, 2017
2 parents 27a6441 + 7c6c752 commit 89f5d1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ New features:

Bug fixes:

- *add item here*
- Relax tests for ZMI tabs for compatibility with Zope 4. [davisagli]


2.4.5 (2016-11-19)
Expand Down
7 changes: 0 additions & 7 deletions plone/dexterity/tests/test_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,8 @@ def test_ZMI_manage_options_container(self):
containerOptions = [o['label'] for o in Container.manage_options]
tabs = [
'Security',
'View',
'Contents',
'Properties',
'Undo',
'Ownership',
'Interfaces'
]
for tab in tabs:
self.assertTrue(tab in containerOptions, "Tab %s not found" % tab)
Expand All @@ -550,9 +546,6 @@ def test_ZMI_manage_options_item(self):
'Security',
'View',
'Properties',
'Undo',
'Ownership',
'Interfaces',
]
for tab in tabs:
self.assertTrue(tab in containerOptions, "Tab %s not found" % tab)
Expand Down

0 comments on commit 89f5d1b

Please sign in to comment.