From: Christopher Allan Webber Date: Tue, 8 Oct 2013 20:30:12 +0000 (-0500) Subject: Fixing the test_change_password test. Needed a privilege! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=27fcf946d08bbd620f9ef1e819897e4556e4539e;p=mediagoblin.git 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! --- 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/', {