Fix test and style

This commit is contained in:
Rebecca Law
2016-12-07 13:29:19 +00:00
parent f946b022e8
commit eedc2fb43e
2 changed files with 3 additions and 4 deletions

View File

@@ -34,8 +34,7 @@ def get_invited_user_by_token(token):
max_age_seconds)
except SignatureExpired:
errors = {'invitation':
['This invitation has expired please contact the person that invited you to invite you again']}
print(errors)
['This invitation has expired please contact the person that invited you to invite you again']}
raise InvalidRequest(errors, status_code=400)
invited_user = get_invited_user_by_id(invited_user_id)