Skip to content

Instantly share code, notes, and snippets.

@kevinmcconnell
Created March 2, 2012 22:54
Show Gist options
  • Save kevinmcconnell/1962085 to your computer and use it in GitHub Desktop.
Save kevinmcconnell/1962085 to your computer and use it in GitHub Desktop.
diff --git a/tests/platform_tests/mail_tests.py b/tests/platform_tests/mail_tests.py
index f33f140..db94d83 100644
--- a/tests/platform_tests/mail_tests.py
+++ b/tests/platform_tests/mail_tests.py
@@ -660,6 +660,7 @@ class MailTests(PlatformTest):
def test_forwarding_message_does_not_record_open_in_summary(self):
mailing = self._send_message("Test open record",
['alex@myemma.com'],
+ '[% bug %] Hello [% member:email %],',
'[% bug %] Hello [% member:email %],')
MockSMTPClient.record_deliveries()
self.drain_queue()
@@ -673,7 +674,8 @@ class MailTests(PlatformTest):
MockSMTPClient.record_deliveries()
self.drain_queue()
- MockSMTPClient.follow_links(self.tracker, '/click')
+ print MockSMTPClient.messages
+ MockSMTPClient.follow_links(self.tracker, '/track')
lp = TestHttpdParser()
lp.tail(MockSMTPClient.WEB_LOGFILE, exit_at_file_end=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment