diff options
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r-- | tests/test_instance.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py index e7dee1f..2762ecb 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py | |||
@@ -43,8 +43,15 @@ 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() | 46 | @pytest.mark.vcr() |
48 | def test_trends(api): | 47 | def test_trends(api): |
49 | assert isinstance(api.trends(), list) | 48 | assert isinstance(api.trends(), list) |
50 | 49 | ||
50 | @pytest.mark.vcr() | ||
51 | def test_directory(api): | ||
52 | directory = api.directory() | ||
53 | assert directory | ||
54 | assert isinstance(directory, list) | ||
55 | assert len(directory) > 0 | ||
56 | |||
57 | |||