diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-10-08 15:30:12 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-10-08 15:30:12 -0500 |
commit | 27fcf946d08bbd620f9ef1e819897e4556e4539e (patch) | |
tree | d50eec83af2956b42a7aa06090145a961b12f3cd | |
parent | 6180e3a915f4484e970e6d776740b2da58b12f94 (diff) | |
download | mediagoblin-27fcf946d08bbd620f9ef1e819897e4556e4539e.tar.lz mediagoblin-27fcf946d08bbd620f9ef1e819897e4556e4539e.tar.xz mediagoblin-27fcf946d08bbd620f9ef1e819897e4556e4539e.zip |
Fixing the test_change_password test. Needed a privilege!
I'm pretty sure this should work correctly now.
This commit sponsored by Michał Masłowski. Thanks!
-rw-r--r-- | mediagoblin/tests/test_basic_auth.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_basic_auth.py b/mediagoblin/tests/test_basic_auth.py index 45deab7c..828f0515 100644 --- a/mediagoblin/tests/test_basic_auth.py +++ b/mediagoblin/tests/test_basic_auth.py @@ -66,7 +66,9 @@ def test_bcrypt_gen_password_hash(): def test_change_password(test_app): """Test changing password correctly and incorrectly""" - test_user = fixture_add_user(password=u'toast') + test_user = fixture_add_user( + password=u'toast', + privileges=[u'active']) test_app.post( '/auth/login/', { |