From 3f750140b5255e420d79e5fe732cf35bd86d0ea2 Mon Sep 17 00:00:00 2001 From: Pieter Schutz Date: Sun, 2 Feb 2020 23:33:23 +0100 Subject: [PATCH] fix test_pin_and_unpin_message Make it flaky and timeout --- tests/test_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_bot.py b/tests/test_bot.py index 9224491175a..70bb4663f7c 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -663,6 +663,8 @@ def test_set_chat_description(self, bot, channel_id): assert bot.set_chat_description(channel_id, 'Time: ' + str(time.time())) # TODO: Add bot to group to test there too + @flaky(3, 1) + @pytest.mark.timeout(10) def test_pin_and_unpin_message(self, bot, super_group_id): message = bot.send_message(super_group_id, text="test_pin_message") assert bot.pin_chat_message(chat_id=super_group_id, message_id=message.message_id, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy