diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/test_notifications.py | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.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.py | 4 |
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() |
16 | def test_notifications_dismiss(api, mention): | 16 | def 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 | ||
20 | def test_notifications_dismiss_pre_2_9_2(api, api2): | 20 | def 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 |