Merge lp:~elopio/canonical-identity-provider/refactor_reset_password into lp:canonical-identity-provider/release

Proposed by Leo Arias
Status: Merged
Merged at revision: 957
Proposed branch: lp:~elopio/canonical-identity-provider/refactor_reset_password
Merge into: lp:canonical-identity-provider/release
Diff against target: 14 lines (+2/-2)
1 file modified
acceptance/tests/api/testcases/test_password_reset.py (+2/-2)
To merge this branch: bzr merge lp:~elopio/canonical-identity-provider/refactor_reset_password
Reviewer Review Type Date Requested Status
Canonical ISD hackers Pending
Review via email: mp+173571@code.launchpad.net

Commit message

Remove the duplicated call to delete_msgs_sent_to.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'acceptance/tests/api/testcases/test_password_reset.py'
2--- acceptance/tests/api/testcases/test_password_reset.py 2013-07-08 15:24:23 +0000
3+++ acceptance/tests/api/testcases/test_password_reset.py 2013-07-08 18:55:44 +0000
4@@ -28,8 +28,8 @@
5 # previous message for that address.
6 # Wait for the account creation email to arrive.
7 sso_mail.get_verification_link_for_address(self.user.email)
8- # Make sure that the user inbox is clean.
9- mail.delete_msgs_sent_to(self.user.email)
10+ # After getting the latest email, the helper deletes all the emails
11+ # sent to that email address.
12
13 def test_token_contains_user_email_address(self):
14 token = self.api_response.json()