From dd189164ef0b39132daafcbe5d163bc259ccec8e Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Thu, 13 Apr 2017 16:39:30 -0300 Subject: [#927] Add recovery code mail template with @tuliocasagrande --- service/test/functional/features/steps/mail_view.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'service/test/functional/features/steps/mail_view.py') diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py index d10f86e7..9b49e6e5 100644 --- a/service/test/functional/features/steps/mail_view.py +++ b/service/test/functional/features/steps/mail_view.py @@ -109,3 +109,9 @@ def impl(context): assert cc is not None assert bcc is not None + + +@then(u'I see the mail has the recovery code') +def step_impl(context): + expected_body = 'This code is they only way to recover access to your account in case you lose your password.' + context.execute_steps(u"Then I see that the body has '%s'" % expected_body) -- cgit v1.2.3