Permalink
Browse files

use Plone standard tiles on tests; refs #81

  • Loading branch information...
1 parent 07922ab commit dc805fa048b2230e8fe069ecee3f64aa3f72b26d @hvelarde hvelarde committed with jpgimenez Nov 13, 2012
Showing with 10 additions and 0 deletions.
  1. +2 −0 setup.py
  2. +5 −0 src/collective/cover/testing.py
  3. +3 −0 src/collective/cover/tests/test_vocabularies.py
View
@@ -56,6 +56,8 @@
extras_require={
'test': [
'plone.app.testing',
+ 'plone.app.imagetile',
+ 'plone.app.texttile',
'robotsuite',
'robotframework-selenium2library',
],
@@ -16,6 +16,11 @@ def setUpZope(self, app, configurationContext):
# Load ZCML
import collective.cover
self.loadZCML(package=collective.cover)
+ # XXX: https://github.com/collective/collective.cover/issues/81
+ #import plone.app.imagetile
+ #self.loadZCML(package=plone.app.imagetile)
+ #import plone.app.texttile
+ #self.loadZCML(package=plone.app.imagetile)
def setUpPloneSite(self, portal):
# Install into Plone site using portal_setup
@@ -42,6 +42,9 @@ def test_tiles_vocabulary(self):
self.assertTrue(u'collective.cover.link' in tiles)
self.assertTrue(u'collective.cover.list' in tiles)
self.assertTrue(u'collective.cover.richtext' in tiles)
+ # XXX: https://github.com/collective/collective.cover/issues/81
+ #self.assertTrue(u'plone.app.imagetile' in tiles)
+ #self.assertTrue(u'plone.app.texttile' in tiles)
def test_user_friendly_types_vocabulary(self):
name = u'collective.cover.AvailableContentTypes'

0 comments on commit dc805fa

Please sign in to comment.