diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-11-14 18:49:21 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-12-05 21:08:57 +0100 |
commit | 9047b254f340c16f33183f0d6d68e6c4a5a3c8de (patch) | |
tree | 7cbbd7836840e356681f02a41a067a8cb5ea7ded /mediagoblin/tests/test_tests.py | |
parent | 809cbfc5ab3c999f357c0b4e7b6c89e8a36dc6d2 (diff) | |
download | mediagoblin-9047b254f340c16f33183f0d6d68e6c4a5a3c8de.tar.lz mediagoblin-9047b254f340c16f33183f0d6d68e6c4a5a3c8de.tar.xz mediagoblin-9047b254f340c16f33183f0d6d68e6c4a5a3c8de.zip |
Dot-Notation for Users.pw_hash
Diffstat (limited to 'mediagoblin/tests/test_tests.py')
-rw-r--r-- | mediagoblin/tests/test_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_tests.py b/mediagoblin/tests/test_tests.py index b3a5c2fa..25bb52b3 100644 --- a/mediagoblin/tests/test_tests.py +++ b/mediagoblin/tests/test_tests.py @@ -29,7 +29,7 @@ def test_get_test_app_wipes_db(): new_user = mg_globals.database.User() new_user.username = u'lolcat' new_user.email = u'lol@cats.example.org' - new_user['pw_hash'] = u'pretend_this_is_a_hash' + new_user.pw_hash = u'pretend_this_is_a_hash' new_user.save() assert mg_globals.database.User.find().count() == 1 |