aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_account.py')
-rw-r--r--tests/test_account.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/test_account.py b/tests/test_account.py
index be48646..184e346 100644
--- a/tests/test_account.py
+++ b/tests/test_account.py
@@ -290,4 +290,18 @@ def test_account_lookup(api, api3):
290 except: 290 except:
291 pass 291 pass
292 assert(api.account_lookup("mastodonpy_test").id == id) 292 assert(api.account_lookup("mastodonpy_test").id == id)
293 assert(api.account_lookup("mastodonpy_test@localhost:3000").id == id) \ No newline at end of file 293 assert(api.account_lookup("mastodonpy_test@localhost:3000").id == id)
294
295@pytest.mark.vcr()
296def test_account_familiar_followers(api, api2, api3):
297 followers_list = api.account_familiar_followers(api2.me())
298 assert followers_list
299 assert len(followers_list) == 1
300 assert followers_list[0].id == api2.me().id
301 assert "accounts" in followers_list[0]
302
303 followers_list = api.account_familiar_followers([api2.me(), api3.me()])
304 assert followers_list
305 assert len(followers_list) == 2
306 assert followers_list[0].id == api2.me().id
307 assert followers_list[1].id == api3.me().id
Powered by cgit v1.2.3 (git 2.41.0)