Permalink
Browse files

prepare to add functional testing

  • Loading branch information...
1 parent bd18173 commit 23a3469dc33ec15870d235400d0d9a94be642f1b @gyst gyst committed Apr 5, 2013
View
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
-version = '0.4.2'
+version = '0.5.dev'
long_description = (
open('README.rst').read()
@@ -31,7 +31,8 @@ def setUpZope(self, app, configurationContext):
context=configurationContext)
def setUpPloneSite(self, portal):
- applyProfile(portal, 'plonesocial.suite:default')
+ # use the demo profile for a populated test site
+ applyProfile(portal, 'plonesocial.suite:demo')
PLONESOCIAL_SUITE_FIXTURE = PlonesocialSuite()
PLONESOCIAL_SUITE_INTEGRATION_TESTING = \
@@ -19,7 +19,10 @@ def test_product_is_installed(self):
""" Validate that our products GS profile has been run and the product
installed
"""
- pid = 'plonesocial.suite'
installed = [p['id'] for p in self.qi_tool.listInstalledProducts()]
- self.assertTrue(pid in installed,
- 'package appears not to have been installed')
+ for pid in ('plonesocial.suite',
+ 'plonesocial.microblog',
+ 'plonesocial.activitystream',
+ 'plonesocial.network'):
+ self.assertTrue(pid in installed,
+ 'package appears not to have been installed')

0 comments on commit 23a3469

Please sign in to comment.