adding test for erase documents

This commit is contained in:
Cayo Puigdefabregas 2021-07-26 11:55:12 +02:00
parent fb4f6f9386
commit 5e6ecaae49
1 changed files with 2 additions and 0 deletions

View File

@ -2421,3 +2421,5 @@ def test_action_web_erase(user: UserClient):
action = models.ToErased.query.one()
for dev in action.devices:
assert action in dev.actions
assert action.document.file_hash == request['hash']