Dot-Notation for Users.verification_key

This commit is contained in:
Elrond
2011-11-14 19:04:13 +01:00
parent 7a3d00ec21
commit 00bb95502e
3 changed files with 5 additions and 5 deletions

View File

@@ -187,7 +187,7 @@ def test_register_views(test_app):
assert parsed_get_params['userid'] == [
unicode(new_user._id)]
assert parsed_get_params['token'] == [
new_user['verification_key']]
new_user.verification_key]
## Try verifying with bs verification key, shouldn't work
template.clear_test_template_context()