adding test for erase documents

This commit is contained in:
Cayo Puigdefabregas 2021-07-26 11:55:12 +02:00
parent fb4f6f9386
commit 5e6ecaae49

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']