authorized up snapshots with new token

This commit is contained in:
Cayo Puigdefabregas 2021-04-14 13:21:46 +02:00
parent ca85a1f221
commit 7ea3041aa0

View file

@ -662,3 +662,5 @@ def test_get_wbconf(user: UserClient):
session = Session.query.filter_by(user_id=user.user['id'],
type=SessionType.Internal).first()
assert str(session.token) in env
user.user['token'] = str(session.token)
snapshot, _ = user.post(file('basic.snapshot'), res=Snapshot)