aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_notifications.py')
-rw-r--r--tests/test_notifications.py3
1 files changed, 3 insertions, 0 deletions
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 @@
1import pytest 1import pytest
2import vcr 2import vcr
3import time
3 4
4@pytest.fixture() 5@pytest.fixture()
5def mention(api2): 6def mention(api2):
@@ -9,11 +10,13 @@ def mention(api2):
9 10
10@pytest.mark.vcr() 11@pytest.mark.vcr()
11def test_notifications(api, mention): 12def test_notifications(api, mention):
13 time.sleep(3)
12 notifications = api.notifications() 14 notifications = api.notifications()
13 api.notifications(notifications[0]) 15 api.notifications(notifications[0])
14 16
15@pytest.mark.vcr() 17@pytest.mark.vcr()
16def test_notifications_dismiss(api, mention): 18def test_notifications_dismiss(api, mention):
19 time.sleep(3)
17 notifications = api.notifications() 20 notifications = api.notifications()
18 api.notifications_dismiss(notifications[0]) 21 api.notifications_dismiss(notifications[0])
19 22
Powered by cgit v1.2.3 (git 2.41.0)