tweaking a few things to support the new marshmallow (#522)

This commit is contained in:
kevgliss
2016-11-22 15:14:19 -08:00
committed by GitHub
parent 0158807847
commit 9d03e75d9b
7 changed files with 25 additions and 12 deletions

View File

@ -26,7 +26,7 @@ def test_authority_input_schema(client, role):
def test_user_authority(session, client, authority, role, user, issuer_plugin):
assert client.get(api.url_for(AuthoritiesList), headers=user['token']).json['total'] == 0
resp = client.get(api.url_for(AuthoritiesList), headers=user['token']).json
u = user['user']
u.roles.append(role)
authority.roles.append(role)