======================
An integration doctest
======================

Test the collective.classifieds package 

Let's get the portal object

    >>> self.portal
    <PloneSite at ...>

Login as Manager

   >>> self.loginAsPortalOwner()




Let's see if the Classifieds is installed

    >>> portal_quickinstaller = self.portal.portal_quickinstaller
    >>> 'collective.classifieds' in  portal_quickinstaller.objectIds()
    True 

Let's add a classifieds object

   >>> self.portal.invokeFactory('Classifieds',id='classifieds', title='Classifieds') 
   'classifieds'


