From 64ef1dcf5701c88283fb785a0b065f7f41202c12 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 6 Jul 2021 16:03:03 +0200 Subject: [PATCH] test erase from web --- tests/test_action.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_action.py b/tests/test_action.py index 5c0af44f..95690800 100644 --- a/tests/test_action.py +++ b/tests/test_action.py @@ -2415,3 +2415,9 @@ def test_trade_case14(user: UserClient, user2: UserClient): assert device.actions[-4].user == trade.user_from assert device.actions[-5].t == 'Trade' assert device.actions[-5].author == trade.user_to + + +@pytest.mark.mvp +@pytest.mark.usefixtures(conftest.app_context.__name__) +def test_action_web_erase(user: UserClient, user2: UserClient): + {'type': 'ToErased', 'devices': [174], 'name': 'borrado universal', 'severity': 'Info', 'description': 'nada que describir', 'url': 'http://www.google.com/', 'documentId': '33', 'endTime': '2021-07-07T22:00:00.000Z', 'filename': 'Certificado de borrado1.pdf', 'hash': 'fedbcbd057d25df9915ca9758b7537794148b896b66b3bbc972fe966dcced34b'}