diff options
author | Lorenz Diener <[email protected]> | 2018-06-05 22:10:31 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-06-05 22:10:31 +0200 |
commit | 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch) | |
tree | 203729696d2639d5bf221168ad6c76a150130ab0 /tests/test_timeline.py | |
parent | 36194fd60c8e5c6d30134134e32dd24981aee324 (diff) | |
download | mastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz |
New casettes, small fixes
Diffstat (limited to 'tests/test_timeline.py')
-rw-r--r-- | tests/test_timeline.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_timeline.py b/tests/test_timeline.py index 5108b63..4e77ff7 100644 --- a/tests/test_timeline.py +++ b/tests/test_timeline.py | |||
@@ -7,10 +7,6 @@ from mastodon.Mastodon import MastodonAPIError,\ | |||
7 | def test_public_tl_anonymous(api_anonymous, status): | 7 | def test_public_tl_anonymous(api_anonymous, status): |
8 | tl = api_anonymous.timeline_public() | 8 | tl = api_anonymous.timeline_public() |
9 | assert status['id'] in map(lambda st: st['id'], tl) | 9 | assert status['id'] in map(lambda st: st['id'], tl) |
10 | # although tempting, we can't do | ||
11 | # assert status in tl | ||
12 | # because the statuses returned in the tl have additional | ||
13 | # pagination-related attributes | ||
14 | 10 | ||
15 | @pytest.mark.vcr() | 11 | @pytest.mark.vcr() |
16 | def test_public_tl(api, status): | 12 | def test_public_tl(api, status): |