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!
This commit is contained in:
Christopher Allan Webber 2013-10-08 15:30:12 -05:00
parent 6180e3a915
commit 27fcf946d0

View File

@ -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/', {