From 7389a8888d4e381ee93a67b77cccbe598993d6b5 Mon Sep 17 00:00:00 2001 From: codl Date: Thu, 30 Nov 2017 02:13:44 +0100 Subject: add test for search method --- tests/test_search.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_search.py (limited to 'tests/test_search.py') 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 @@ +import pytest + +@pytest.mark.vcr() +def test_search(api): + results = api.search('mastodonpy_test') + assert isinstance(results, dict) -- cgit v1.2.3