diff --git a/test.py b/test.py index 282fd03..e55de20 100644 --- a/test.py +++ b/test.py @@ -1,10 +1,14 @@ +# coding=utf-8 +""" +Some basic tests to verify that the wrapper is working +""" from mailchimp3 import MailChimp client = MailChimp('MAILCHIMP_USER', 'MAILCHIMP_SECRET') -print client.list.all(fields="lists.name,lists.id") +print client.lists.all(fields="lists.name,lists.id") -print client.authorized_app.all() +print client.authorized_apps.all(get_all=False) -print client.automation.all() +print client.automations.all(get_all=True)