From d6b30c9703b24fcb582376ace520fe206d5f7f70 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 1 Jul 2020 09:32:08 +0300 Subject: [PATCH] Fix python test for ephemeral timer --- python/tests/test_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_account.py b/python/tests/test_account.py index d52faf28d..fba13799e 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -1555,7 +1555,7 @@ class TestOnlineAccount: lp.sec("ac1: check that ephemeral timer is set for chat") assert chat1.get_ephemeral_timer() == 60 chat1_summary = chat1.get_summary() - assert chat1_summary["ephemeral_timer"] == 60 + assert chat1_summary["ephemeral_timer"] == {'Enabled': {'duration': 60}} lp.sec("ac2: receive system message about ephemeral timer modification") ac2._evtracker.get_matching("DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED")