diff options
Diffstat (limited to 'tests/test_timeline.py')
-rw-r--r-- | tests/test_timeline.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_timeline.py b/tests/test_timeline.py index eae0e80..d713fca 100644 --- a/tests/test_timeline.py +++ b/tests/test_timeline.py | |||
@@ -11,9 +11,10 @@ def test_public_tl_anonymous(api_anonymous, status): | |||
11 | 11 | ||
12 | @pytest.mark.vcr() | 12 | @pytest.mark.vcr() |
13 | def test_public_tl(api, status): | 13 | def test_public_tl(api, status): |
14 | tl = api.timeline_public() | 14 | public = api.timeline_public() |
15 | print(tl[0]) | 15 | local = api.timeline_local() |
16 | assert status['id'] in map(lambda st: st['id'], tl) | 16 | assert status['id'] in map(lambda st: st['id'], public) |
17 | assert status['id'] in map(lambda st: st['id'], local) | ||
17 | 18 | ||
18 | @pytest.mark.vcr() | 19 | @pytest.mark.vcr() |
19 | def test_home_tl(api, status): | 20 | def test_home_tl(api, status): |