diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-11-14 19:21:33 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-12-05 21:08:58 +0100 |
commit | dc39e4555c9e104ae9d7b38f231a848fe106d1a0 (patch) | |
tree | cfd18f598461b3dc5c126dd4f5eda1826efc03c0 /mediagoblin/tests/test_auth.py | |
parent | 4b77f86ab46c54a41a250ad1d8cec82214b67545 (diff) | |
download | mediagoblin-dc39e4555c9e104ae9d7b38f231a848fe106d1a0.tar.lz mediagoblin-dc39e4555c9e104ae9d7b38f231a848fe106d1a0.tar.xz mediagoblin-dc39e4555c9e104ae9d7b38f231a848fe106d1a0.zip |
Dot-Notation for Users.fp_verification_key
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
-rw-r--r-- | mediagoblin/tests/test_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_auth.py b/mediagoblin/tests/test_auth.py index 7cb867d7..2dcb5c14 100644 --- a/mediagoblin/tests/test_auth.py +++ b/mediagoblin/tests/test_auth.py @@ -270,7 +270,7 @@ def test_register_views(test_app): # user should have matching parameters new_user = mg_globals.database.User.find_one({'username': 'happygirl'}) assert parsed_get_params['userid'] == [unicode(new_user._id)] - assert parsed_get_params['token'] == [new_user['fp_verification_key']] + assert parsed_get_params['token'] == [new_user.fp_verification_key] ### The forgotten password token should be set to expire in ~ 10 days # A few ticks have expired so there are only 9 full days left... |