aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-10-11 23:59:24 +0200
committerLorenz Diener <[email protected]>2019-10-11 23:59:24 +0200
commit437f68c29a18303de3c75962021bbe030b2cf85c (patch)
tree83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/test_notifications.py
parent2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff)
downloadmastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz
Update tests for 3.0.1 and fix regressions
Diffstat (limited to 'tests/test_notifications.py')
-rw-r--r--tests/test_notifications.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_notifications.py b/tests/test_notifications.py
index ab9ac31..23efe41 100644
--- a/tests/test_notifications.py
+++ b/tests/test_notifications.py
@@ -15,8 +15,8 @@ def test_notifications(api, mention):
15@pytest.mark.vcr() 15@pytest.mark.vcr()
16def test_notifications_dismiss(api, mention): 16def test_notifications_dismiss(api, mention):
17 notifications = api.notifications() 17 notifications = api.notifications()
18 api.notifications_dismiss(notifications[0]) # TODO possibly verify that this returns a notif dict 18 api.notifications_dismiss(notifications[0])
19 19
20def test_notifications_dismiss_pre_2_9_2(api, api2): 20def test_notifications_dismiss_pre_2_9_2(api, api2):
21 with vcr.use_cassette('test_notifications_dismiss.yaml', cassette_library_dir='tests/cassettes_pre_2_9_2', record_mode='none'): 21 with vcr.use_cassette('test_notifications_dismiss.yaml', cassette_library_dir='tests/cassettes_pre_2_9_2', record_mode='none'):
22 status = None 22 status = None
Powered by cgit v1.2.3 (git 2.41.0)