print '[test] update_event_promocode' response = constantcontact.update_event_promocode(event_response, pc_response) if printout and response: print json.dumps(response, indent = 4, sort_keys = True) raw_input('press enter for next test') print '[test] delete_event_promocode' response = constantcontact.delete_event_promocode(event_response, pc_response) if printout and response: print response raw_input('press enter for next test') item = Item() item.set_default_quantity_total(10) item.set_name('Cauldrons') item.set_per_registrant_limit(1) item.set_price(4) print '[test] post_event_items' response = constantcontact.post_event_items(event_response, item) if printout and response: print json.dumps(response, indent = 4, sort_keys = True) raw_input('press enter for next test') print '[test] get_event_items' response = constantcontact.get_event_items(event_response) if printout and response: print json.dumps(response, indent = 4, sort_keys = True) raw_input('press enter for next test')