From 392a275dedd663fcae255f3704c04f5df85a48cd Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 4 Mar 2013 17:19:39 -0500 Subject: [PATCH] test that everything's chimpy --- core/tests.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/tests.py b/core/tests.py index 9ffa67a6..7c9658a1 100755 --- a/core/tests.py +++ b/core/tests.py @@ -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) + +