diff --git a/student-tests/test_cases.py b/student-tests/test_cases.py index e939d66..9f35fc1 100644 --- a/student-tests/test_cases.py +++ b/student-tests/test_cases.py @@ -53,8 +53,8 @@ def main(): # --- чужой чат --- c.call('GET', path, 404, actor=eve) c.call('GET', path + '/messages', 404, actor=eve) - c.call('POST', path + '/messages', 404, actor=eve, body={'text': 'чужое'}) - + c.call('POST', path + '/messages', 404, actor=eve, body={'text': 'чужое'}, + headers={'Idempotency-Key': uuid.uuid4().hex}) # --- чат без создателя в member_ids --- c.call('POST', '/api/v1/chats', 400, actor=alice, body={'title': 'Без меня', 'member_ids': [bob['id']]})