aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicah <[email protected]>2022-11-25 16:39:10 -0500
committerGitHub <[email protected]>2022-11-25 16:39:10 -0500
commit99514e50d1e1ef6330397c2cada203dfa3891b3a (patch)
treecbac11da3a71a24bbb739d9aa8fda65bc7968dd4 /tests/test_trends.py
parent5d7ca19c30dc6579bf29610fe815b822889978e6 (diff)
parent10b2a9984237aaae6a512d441001e635060d6af7 (diff)
downloadmastodon.py-99514e50d1e1ef6330397c2cada203dfa3891b3a.tar.gz
Merge pull request #1 from halcy/master
pull in upstream
Diffstat (limited to 'tests/test_trends.py')
-rw-r--r--tests/test_trends.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test_trends.py b/tests/test_trends.py
new file mode 100644
index 0000000..67599d2
--- /dev/null
+++ b/tests/test_trends.py
@@ -0,0 +1,21 @@
1import pytest
2import time
3import vcr
4
5
6@pytest.mark.vcr()
7def test_trending_tags(api):
8 tags = api.trending_tags()
9 assert isinstance(tags, list)
10 tags = api.trends()
11 assert isinstance(tags, list)
12
13@pytest.mark.vcr()
14def test_trending_statuses(api):
15 statuses = api.trending_statuses()
16 assert isinstance(statuses, list)
17
18@pytest.mark.vcr()
19def test_trending_links(api):
20 links = api.trending_links()
21 assert isinstance(links, list)
Powered by cgit v1.2.3 (git 2.41.0)