Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/Extensions/install.py   Products.PloneGetPaid(Download)
from Products.PloneGetPaid.interfaces import IGetPaidManagementOptions, IAddressBookUtility, INamedOrderUtility
from Products.PloneGetPaid.cart import ShoppingCartUtility
from getpaid.core.interfaces import IOrderManager, IStore, IShoppingCartUtility, StoreInstalled, StoreUninstalled
from getpaid.core.order import OrderManager
from getpaid.core.payment import CREDIT_CARD_TYPES
def notify_uninstalled( self ):
    notify( StoreUninstalled( self ) )
 
def teardown_store( self ):
    portal = getToolByName( self, 'portal_url').getPortalObject()