| Submitter | Dirk Wallenstein |
|---|---|
| Date | April 30, 2012, 7:17 p.m. |
| Message ID | <20120430191755.GA21424@bottich> |
| Download | mbox | patch |
| Permalink | /patch/155952/ |
| State | Accepted |
| Commit | 8d0947cab74b46bfa58e46d556fc171cda364f82 |
| Headers | show |
Comments
Patch
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)
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> --- apps/patchwork/tests/mail_settings.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)