authorized up snapshots with new token
This commit is contained in:
parent
ca85a1f221
commit
7ea3041aa0
|
@ -662,3 +662,5 @@ def test_get_wbconf(user: UserClient):
|
||||||
session = Session.query.filter_by(user_id=user.user['id'],
|
session = Session.query.filter_by(user_id=user.user['id'],
|
||||||
type=SessionType.Internal).first()
|
type=SessionType.Internal).first()
|
||||||
assert str(session.token) in env
|
assert str(session.token) in env
|
||||||
|
user.user['token'] = str(session.token)
|
||||||
|
snapshot, _ = user.post(file('basic.snapshot'), res=Snapshot)
|
||||||
|
|
Reference in New Issue