diff options
Diffstat (limited to 'tests/test_timeline.py')
-rw-r--r-- | tests/test_timeline.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_timeline.py b/tests/test_timeline.py index 492d0c7..eae0e80 100644 --- a/tests/test_timeline.py +++ b/tests/test_timeline.py | |||
@@ -28,3 +28,9 @@ def test_hashtag_tl(api): | |||
28 | assert status['id'] in map(lambda st: st['id'], tl) | 28 | assert status['id'] in map(lambda st: st['id'], tl) |
29 | finally: | 29 | finally: |
30 | api.status_delete(status['id']) | 30 | api.status_delete(status['id']) |
31 | |||
32 | @pytest.mark.vcr() | ||
33 | def test_home_tl_anonymous_throws(api_anonymous): | ||
34 | from mastodon.Mastodon import MastodonAPIError | ||
35 | with pytest.raises(MastodonAPIError): | ||
36 | tl = api_anonymous.timeline_home() | ||