document new function

This commit is contained in:
Cayo Puigdefabregas 2020-10-16 16:31:54 +02:00
parent 195c5265e4
commit e00c3f576c

View file

@ -393,6 +393,7 @@ def test_erase_privacy_standards_endtime_sort(user: UserClient):
assert _snapshot1['type'] == _snapshot2['type'] == 'Snapshot' assert _snapshot1['type'] == _snapshot2['type'] == 'Snapshot'
get_snapshot, _ = user.get(res=Action, item=_snapshot2['id']) get_snapshot, _ = user.get(res=Action, item=_snapshot2['id'])
assert get_snapshot['actions'][0]['endTime'] == '2018-06-01T07:14:00+00:00' assert get_snapshot['actions'][0]['endTime'] == '2018-06-01T07:14:00+00:00'
import pdb; pdb.set_trace()
assert snapshot == get_snapshot assert snapshot == get_snapshot
erasure, _ = user.get(res=Action, item=erasure1['id']) erasure, _ = user.get(res=Action, item=erasure1['id'])
assert len(erasure['steps']) == 2 assert len(erasure['steps']) == 2