From 7f0ea2d9ae459ba9ac830abfecda2778c30e45da Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 3 Aug 2021 11:28:18 +0200 Subject: [PATCH] new test for trade document --- tests/test_documents.py | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/tests/test_documents.py b/tests/test_documents.py index 1f89d96b..d8bf8a96 100644 --- a/tests/test_documents.py +++ b/tests/test_documents.py @@ -33,14 +33,16 @@ def test_erasure_certificate_public_one(user: UserClient, client: Client): snapshot, _ = user.post(s, res=Snapshot) doc, response = user.get(res=documents.DocumentDef.t, - item='erasures/{}'.format(snapshot['device']['id']), - accept=ANY) + item='erasures/{}'.format( + snapshot['device']['id']), + accept=ANY) assert 'html' in response.content_type assert '