diff options
Diffstat (limited to 'tests/test_account.py')
-rw-r--r-- | tests/test_account.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test_account.py b/tests/test_account.py index 184e346..afc2122 100644 --- a/tests/test_account.py +++ b/tests/test_account.py | |||
@@ -33,7 +33,6 @@ def test_account_relationships(api): | |||
33 | assert isinstance(relationships, list) | 33 | assert isinstance(relationships, list) |
34 | assert len(relationships) == 1 | 34 | assert len(relationships) == 1 |
35 | 35 | ||
36 | |||
37 | @pytest.mark.vcr() | 36 | @pytest.mark.vcr() |
38 | def test_account_search(api): | 37 | def test_account_search(api): |
39 | results = api.account_search('admin') | 38 | results = api.account_search('admin') |
@@ -305,3 +304,10 @@ def test_account_familiar_followers(api, api2, api3): | |||
305 | assert len(followers_list) == 2 | 304 | assert len(followers_list) == 2 |
306 | assert followers_list[0].id == api2.me().id | 305 | assert followers_list[0].id == api2.me().id |
307 | assert followers_list[1].id == api3.me().id | 306 | assert followers_list[1].id == api3.me().id |
307 | |||
308 | @pytest.mark.vcr() | ||
309 | def test_account_remove_from_followers(api, api2): | ||
310 | api.account_follow(api2.me()) | ||
311 | assert api.account_relationships(api2.me())[0].following == True | ||
312 | api2.account_remove_from_followers(api.me()) | ||
313 | assert api.account_relationships(api2.me())[0].following == False \ No newline at end of file | ||