Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/tests/test_setup.py   Products.PloneGetPaid(Download)
    def test_portal_is_a_site(self):
        self.assert_(ISite.providedBy(self.portal))
 
    def test_portal_is_a_store(self):
        self.assert_(IStore.providedBy(self.portal))
 
    def test_order_manager_is_setup(self):
        sm = self.portal.getSiteManager()
        self.assert_(list(sm.getUtilitiesFor(IOrderManager)))
    def test_intid_is_setup(self):
        self.assert_(getUtility(IIntIds, context=self.portal) is not None)
 
    def test_plone3_portlets_are_installed(self):
        from zope.component import getUtility, getMultiAdapter