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:
parent
6180e3a915
commit
27fcf946d0
@ -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/', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user