'purchase a cart with billing information'

def purchase_with_data(self, cart):

    CertificateItem.add_to_order(cart, self.course_key, self.cost, 'honor')
    cart.purchase(first='John', last='Smith', street1='11    Cambridge    Center', street2='Suite    101', city='Cambridge', state='MA', postalcode='02412', country='US', ccnum='1111', cardtype='001')
