fixing testing deliverynote

This commit is contained in:
Cayo Puigdefabregas 2021-02-11 13:17:52 +01:00
parent 0535a1f310
commit bf734ee534
1 changed files with 1 additions and 1 deletions

View File

@ -35,4 +35,4 @@ def test_simple_deliverynote(user: UserClient, app: Devicehub):
db_note = Deliverynote.query.filter_by(id=deliverynote['id']).one()
assert deliverynote['documentID'] == note['documentID']
assert user.user['email'] in db_note.lot.name
assert deliverynote['documentID'] in db_note.lot.name