From b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 15:33:10 +0200 Subject: Add support for timed mutes, fix tests to actually pass with new setup --- tests/test_notifications.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_notifications.py') diff --git a/tests/test_notifications.py b/tests/test_notifications.py index 23efe41..d3f4f5c 100644 --- a/tests/test_notifications.py +++ b/tests/test_notifications.py @@ -1,5 +1,6 @@ import pytest import vcr +import time @pytest.fixture() def mention(api2): @@ -9,11 +10,13 @@ def mention(api2): @pytest.mark.vcr() def test_notifications(api, mention): + time.sleep(3) notifications = api.notifications() api.notifications(notifications[0]) @pytest.mark.vcr() def test_notifications_dismiss(api, mention): + time.sleep(3) notifications = api.notifications() api.notifications_dismiss(notifications[0]) -- cgit v1.2.3