test that everything's chimpy
parent
14a6803b9f
commit
392a275ded
|
@ -693,5 +693,14 @@ class LocaldatetimeTest(TestCase):
|
|||
else:
|
||||
reload(localdatetime)
|
||||
|
||||
class MailingListTests(TestCase):
|
||||
#mostly to check that MailChimp account is setp correctly
|
||||
|
||||
def test_mailchimp(self):
|
||||
from postmonkey import PostMonkey
|
||||
pm = PostMonkey(settings.MAILCHIMP_API_KEY)
|
||||
self.assertEqual(pm.ping(),"Everything's Chimpy!" )
|
||||
self.user = User.objects.create_user('chimp_test', 'eric@gluejar.com', 'chimp_test')
|
||||
self.assertTrue(self.user.profile.on_ml)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue