From ba3c2a8605806916bf4124daa1afcea4d3a7c9b9 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 30 Jul 2018 21:14:40 +0200 Subject: Add follow suggestions test --- tests/test_account.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/test_account.py') diff --git a/tests/test_account.py b/tests/test_account.py index 0a2e870..71ceb66 100644 --- a/tests/test_account.py +++ b/tests/test_account.py @@ -162,3 +162,14 @@ def test_account_pinned(status, status2, api): assert not status2 in pinned finally: api.status_unpin(status['id']) + +@pytest.mark.vcr() +def test_follow_suggestions(api): + suggestions = api.suggestions() + assert(suggestions) + assert(len(suggestions) > 0) + + api.suggestion_delete(suggestions[0]) + suggestions2 = api.suggestions() + assert(len(suggestions2) < len(suggestions)) + -- cgit v1.2.3