diff options
author | codl <[email protected]> | 2017-11-30 02:13:44 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-30 02:13:44 +0100 |
commit | 7389a8888d4e381ee93a67b77cccbe598993d6b5 (patch) | |
tree | ca863f07db40a842b3dd7925fe2851bba5d3b259 /tests/test_search.py | |
parent | 2abb1f171579d7c7b4eadbe3bfde72499174427f (diff) | |
download | mastodon.py-7389a8888d4e381ee93a67b77cccbe598993d6b5.tar.gz |
add test for search method
Diffstat (limited to 'tests/test_search.py')
-rw-r--r-- | tests/test_search.py | 6 |
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 @@ | |||
1 | import pytest | ||
2 | |||
3 | @pytest.mark.vcr() | ||
4 | def test_search(api): | ||
5 | results = api.search('mastodonpy_test') | ||
6 | assert isinstance(results, dict) | ||