Commit 751c4fa0 by Eric Fischer Committed by GitHub

Merge pull request #976 from edx/efischer/fix_acceptance_tests

Fix broken acceptance tests
parents 29cfbc33 a322bd5e
......@@ -85,7 +85,7 @@ class AutoAuthPage(PageObject):
Finds and returns the username and email address of the current user.
"""
message = self.q(css='BODY').text[0].strip()
match = re.search(r'Logged in user (\S+) \(.*\) with password (\S+)', message)
match = re.search(r'Logged in user (\S+) \((.*)\).*', message)
if not match:
return None
return match.group(1), match.group(2)
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