aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-11-30 02:13:44 +0100
committercodl <[email protected]>2017-11-30 02:13:44 +0100
commit7389a8888d4e381ee93a67b77cccbe598993d6b5 (patch)
treeca863f07db40a842b3dd7925fe2851bba5d3b259 /tests/test_search.py
parent2abb1f171579d7c7b4eadbe3bfde72499174427f (diff)
downloadmastodon.py-7389a8888d4e381ee93a67b77cccbe598993d6b5.tar.gz
add test for search method
Diffstat (limited to 'tests/test_search.py')
-rw-r--r--tests/test_search.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
new file mode 100644
index 0000000..7a39581
--- /dev/null
+++ b/tests/test_search.py
@@ -0,0 +1,6 @@
1import pytest
2
3@pytest.mark.vcr()
4def test_search(api):
5 results = api.search('mastodonpy_test')
6 assert isinstance(results, dict)
Powered by cgit v1.2.3 (git 2.41.0)