From 7ea3041aa064b26b6ca589558fc54bc1d4734367 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 14 Apr 2021 13:21:46 +0200 Subject: [PATCH] authorized up snapshots with new token --- tests/test_documents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_documents.py b/tests/test_documents.py index 33f614a3..d3ad21a0 100644 --- a/tests/test_documents.py +++ b/tests/test_documents.py @@ -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)