aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-10-12 21:02:39 +0200
committerLorenz Diener <[email protected]>2019-10-12 21:02:39 +0200
commit3194b1295e8f4a6d151d18ad4f23174c63408c05 (patch)
tree15e126c70b7241bf7c8295cc74ee18bd7a700d22 /tests/test_instance.py
parent2e5095f301c62c73f6b839bbbffeda14ab8cd797 (diff)
downloadmastodon.py-3194b1295e8f4a6d151d18ad4f23174c63408c05.tar.gz
Re-add and test trends API
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r--tests/test_instance.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py
index 343af18..e7dee1f 100644
--- a/tests/test_instance.py
+++ b/tests/test_instance.py
@@ -43,3 +43,8 @@ def test_nodeinfo(api):
43 assert nodeinfo 43 assert nodeinfo
44 assert nodeinfo.version == '2.0' 44 assert nodeinfo.version == '2.0'
45 45
46
47@pytest.mark.vcr()
48def test_trends(api):
49 assert isinstance(api.trends(), list)
50
Powered by cgit v1.2.3 (git 2.41.0)