Skip to content

Commit

Permalink
Skip tests on Plone 5
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Sep 10, 2018
1 parent f2d5333 commit b26b90a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/collective/cover/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_versioning_policy(self):
policy_map = repository.getPolicyMap()['collective.cover.content']
self.assertEqual(policy_map, [u'version_on_revert'])

@unittest.skipIf(IS_PLONE_5, 'Plone 4.3 only')
def test_tinymce_linkable(self):
tinymce = self.portal['portal_tinymce']
linkable = tinymce.linkable.split('\n')
Expand Down Expand Up @@ -109,6 +110,7 @@ def test_versioning_policy_removed(self):
policy_map = repository.getPolicyMap()
self.assertNotIn('collective.cover.content', policy_map)

@unittest.skipIf(IS_PLONE_5, 'Plone 4.3 only')
def test_tinymce_linkable_removed(self):
tinymce = self.portal['portal_tinymce']
linkable = tinymce.linkable.split('\n')
Expand Down

0 comments on commit b26b90a

Please sign in to comment.