diff options
author | Dirk Wallenstein <halsmit@t-online.de> | 2012-04-30 09:17:55 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-05-01 15:44:14 +0800 |
commit | 8d0947cab74b46bfa58e46d556fc171cda364f82 (patch) | |
tree | 91f56fb92d42f7215f0777eb320ff1fe180d9195 | |
parent | dcf267019d61408ae64716da0bcb94701748dbae (diff) | |
download | patchwork-8d0947cab74b46bfa58e46d556fc171cda364f82.tar.bz2 patchwork-8d0947cab74b46bfa58e46d556fc171cda364f82.tar.xz |
tests: Check the right optin email
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | apps/patchwork/tests/mail_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/tests/mail_settings.py b/apps/patchwork/tests/mail_settings.py index 36dc5cc..24b95d0 100644 --- a/apps/patchwork/tests/mail_settings.py +++ b/apps/patchwork/tests/mail_settings.py @@ -296,7 +296,7 @@ class UserProfileOptoutFormTest(TestCase): p.save() EmailOptout(email = p.email).save() - form_re = self._form_re(self.optin_url, self.user.email) + form_re = self._form_re(self.optin_url, p.email) response = self.client.get(self.url) self.assertEquals(response.status_code, 200) self.assertTrue(form_re.search(response.content) is not None) |