Commit 9cd95da5 authored by Julien Cristau's avatar Julien Cristau
Browse files

[test] fix registration mail parsing

Seems to have been broken since 7af87830218a.
parent 79894ab3c707
......@@ -79,7 +79,7 @@ class RegistrationTC(CubicWebTC):
self.assertEqual(path, '')
self.assertMessageEqual(req, params, 'Your registration email has been sent. Follow instructions in there to activate your account.')
# check email contains activation url...
URL_RE = re.compile('(%s[^.]+)\.' % self.config['base-url'])
URL_RE = re.compile('(%s[^.]+)$' % self.config['base-url'], re.M)
text = MAILBOX[-1].message.get_payload(decode=True)
url =
# ... and the registration key contains all data
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment