aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
commit18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch)
tree203729696d2639d5bf221168ad6c76a150130ab0 /tests/test_timeline.py
parent36194fd60c8e5c6d30134134e32dd24981aee324 (diff)
downloadmastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz
New casettes, small fixes
Diffstat (limited to 'tests/test_timeline.py')
-rw-r--r--tests/test_timeline.py4
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,\
7def test_public_tl_anonymous(api_anonymous, status): 7def 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()
16def test_public_tl(api, status): 12def test_public_tl(api, status):
Powered by cgit v1.2.3 (git 2.41.0)