diff options
author | Lorenz Diener <[email protected]> | 2019-10-12 21:02:39 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-12 21:02:39 +0200 |
commit | 3194b1295e8f4a6d151d18ad4f23174c63408c05 (patch) | |
tree | 15e126c70b7241bf7c8295cc74ee18bd7a700d22 /tests/test_instance.py | |
parent | 2e5095f301c62c73f6b839bbbffeda14ab8cd797 (diff) | |
download | mastodon.py-3194b1295e8f4a6d151d18ad4f23174c63408c05.tar.gz |
Re-add and test trends API
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r-- | tests/test_instance.py | 5 |
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() | ||
48 | def test_trends(api): | ||
49 | assert isinstance(api.trends(), list) | ||
50 | |||