aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-17 23:25:41 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-17 23:25:41 +0200
commit897b3a23cf4177675f0769de68f08ad8c4faf335 (patch)
treee7eb1c75028792509e7f64f1a5eee3eb6e5643ae /tests/test_notifications.py
parent725f79466de65743df0c3498a1bb08e106b5209e (diff)
downloadmastodon.py-897b3a23cf4177675f0769de68f08ad8c4faf335.tar.gz
add server datetime retriever, fix tests some more
Diffstat (limited to 'tests/test_notifications.py')
-rw-r--r--tests/test_notifications.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_notifications.py b/tests/test_notifications.py
index 0be81c6..6e761ce 100644
--- a/tests/test_notifications.py
+++ b/tests/test_notifications.py
@@ -26,6 +26,7 @@ def test_notifications_dismiss_pre_2_9_2(api, api2):
26 try: 26 try:
27 status = api2.status_post('@mastodonpy_test hello!') 27 status = api2.status_post('@mastodonpy_test hello!')
28 notifications = api.notifications() 28 notifications = api.notifications()
29 api.verify_minimum_version("2.9.2", cached=False)
29 api.notifications_dismiss(notifications[0]) 30 api.notifications_dismiss(notifications[0])
30 finally: 31 finally:
31 if not status is None: 32 if not status is None:
Powered by cgit v1.2.3 (git 2.41.0)