mneedham91 / PyPardot4

PyPardot is a wrapper for Version 4 of the Pardot API, written in Python.
MIT License
48 stars 38 forks source link

fix prospect unitTests, adding new ones, move POST data to post body add Pardot authorization header to GETs #26

Closed dishwasher closed 5 years ago

dishwasher commented 5 years ago
$ nosetests -v
test_all_query (pypardot.objects.tests.test_generic_ops.TestGenericOps) ... ok
test_list_membership_delete (pypardot.objects.tests.test_list_memberships.TestListMemberships) ... ok
test_list_membership_query (pypardot.objects.tests.test_list_memberships.TestListMemberships) ... ok
test_list_membership_read (pypardot.objects.tests.test_list_memberships.TestListMemberships) ... ok
test_list_membership_update (pypardot.objects.tests.test_list_memberships.TestListMemberships) ... ok
test_list_delete (pypardot.objects.tests.test_lists.TestLists) ... ok
test_list_read (pypardot.objects.tests.test_lists.TestLists) ... ok
test_list_update (pypardot.objects.tests.test_lists.TestLists) ... ok
test_prospect_delete (pypardot.objects.tests.test_prospects.TestProspects) ... ok
test_prospect_read (pypardot.objects.tests.test_prospects.TestProspects) ... ok
test_prospect_update (pypardot.objects.tests.test_prospects.TestProspects) ... ok
test_prospect_upsert_delete (pypardot.objects.tests.test_prospects.TestProspects) ... ok

----------------------------------------------------------------------
Ran 12 tests in 50.031s

OK
dishwasher commented 5 years ago

updated to include @mkiely's GET auth fix.