Skip to content

Commit

Permalink
Update test.py to use new endpoint names
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Ross II committed Oct 19, 2016
1 parent 2f0f70d commit 3fb4df1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 3fb4df1

Please sign in to comment.