From b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 15:33:10 +0200 Subject: Add support for timed mutes, fix tests to actually pass with new setup --- tests/test_follow_requests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/test_follow_requests.py') diff --git a/tests/test_follow_requests.py b/tests/test_follow_requests.py index 01e53b5..7c2ab38 100644 --- a/tests/test_follow_requests.py +++ b/tests/test_follow_requests.py @@ -9,16 +9,17 @@ def test_follow_requests(api): @pytest.mark.vcr() def test_follow_request_authorize(api, api2): - api2.account_follow(1234567890123456) + api_id = api.account_verify_credentials() + api2.account_follow(api_id) time.sleep(2) request = api.follow_requests()[0] api.follow_request_authorize(request) - api2.account_unfollow(1234567890123456) + api2.account_unfollow(api_id) @pytest.mark.vcr() def test_follow_request_reject(api, api2): - api2.account_follow(1234567890123456) + api2.account_follow(api.account_verify_credentials()) time.sleep(2) request = api.follow_requests()[0] api.follow_request_reject(request) -- cgit v1.2.3