diff options
Diffstat (limited to 'tests/test_account.py')
-rw-r--r-- | tests/test_account.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test_account.py b/tests/test_account.py index 71ceb66..77a8f48 100644 --- a/tests/test_account.py +++ b/tests/test_account.py | |||
@@ -164,12 +164,14 @@ def test_account_pinned(status, status2, api): | |||
164 | api.status_unpin(status['id']) | 164 | api.status_unpin(status['id']) |
165 | 165 | ||
166 | @pytest.mark.vcr() | 166 | @pytest.mark.vcr() |
167 | def test_follow_suggestions(api): | 167 | def test_follow_suggestions(api2, status): |
168 | suggestions = api.suggestions() | 168 | api2.status_favourite(status) |
169 | |||
170 | suggestions = api2.suggestions() | ||
169 | assert(suggestions) | 171 | assert(suggestions) |
170 | assert(len(suggestions) > 0) | 172 | assert(len(suggestions) > 0) |
171 | 173 | ||
172 | api.suggestion_delete(suggestions[0]) | 174 | api2.suggestion_delete(suggestions[0]) |
173 | suggestions2 = api.suggestions() | 175 | suggestions2 = api2.suggestions() |
174 | assert(len(suggestions2) < len(suggestions)) | 176 | assert(len(suggestions2) < len(suggestions)) |
175 | 177 | ||