aboutsummaryrefslogtreecommitdiff
blob: 67599d2396e391d36fd28436a6d7e001788ea2b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import pytest
import time
import vcr


@pytest.mark.vcr()
def test_trending_tags(api):
    tags = api.trending_tags()
    assert isinstance(tags, list)
    tags = api.trends()
    assert isinstance(tags, list)

@pytest.mark.vcr()
def test_trending_statuses(api):
    statuses = api.trending_statuses()
    assert isinstance(statuses, list)

@pytest.mark.vcr()
def test_trending_links(api):
    links = api.trending_links()
    assert isinstance(links, list)
Powered by cgit v1.2.3 (git 2.41.0)