diff options
Diffstat (limited to 'tests/test_follow_requests.py')
-rw-r--r-- | tests/test_follow_requests.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/test_follow_requests.py b/tests/test_follow_requests.py index e84ff6d..01e53b5 100644 --- a/tests/test_follow_requests.py +++ b/tests/test_follow_requests.py | |||
@@ -2,25 +2,25 @@ import pytest | |||
2 | import time | 2 | import time |
3 | 3 | ||
4 | @pytest.mark.vcr() | 4 | @pytest.mark.vcr() |
5 | def test_follow_requests(api3): | 5 | def test_follow_requests(api): |
6 | reqs = api3.follow_requests() | 6 | reqs = api.follow_requests() |
7 | assert isinstance(reqs, list) | 7 | assert isinstance(reqs, list) |
8 | 8 | ||
9 | 9 | ||
10 | @pytest.mark.vcr() | 10 | @pytest.mark.vcr() |
11 | def test_follow_request_authorize(api3, api2): | 11 | def test_follow_request_authorize(api, api2): |
12 | api2.account_follow(1234567890123457) | 12 | api2.account_follow(1234567890123456) |
13 | time.sleep(2) | 13 | time.sleep(2) |
14 | request = api3.follow_requests()[0] | 14 | request = api.follow_requests()[0] |
15 | api3.follow_request_authorize(request) | 15 | api.follow_request_authorize(request) |
16 | api2.account_unfollow(1234567890123457) | 16 | api2.account_unfollow(1234567890123456) |
17 | 17 | ||
18 | 18 | ||
19 | @pytest.mark.vcr() | 19 | @pytest.mark.vcr() |
20 | def test_follow_request_reject(api3, api2): | 20 | def test_follow_request_reject(api, api2): |
21 | api2.account_follow(1234567890123457) | 21 | api2.account_follow(1234567890123456) |
22 | time.sleep(2) | 22 | time.sleep(2) |
23 | request = api3.follow_requests()[0] | 23 | request = api.follow_requests()[0] |
24 | api3.follow_request_reject(request) | 24 | api.follow_request_reject(request) |
25 | 25 | ||
26 | 26 | ||