aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pagination.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pagination.py b/tests/test_pagination.py
index 44fafa1..599b2f4 100644
--- a/tests/test_pagination.py
+++ b/tests/test_pagination.py
@@ -31,9 +31,9 @@ def test_fetch_next_previous_from_pagination_info(api):
31 account = api.account_verify_credentials() 31 account = api.account_verify_credentials()
32 with many_statuses(api): 32 with many_statuses(api):
33 statuses = api.account_statuses(account['id'], limit=5) 33 statuses = api.account_statuses(account['id'], limit=5)
34 next_statuses = api.fetch_next(statuses[-1]['_pagination_next']) 34 next_statuses = api.fetch_next(statuses[-1]._pagination_next)
35 assert next_statuses 35 assert next_statuses
36 previous_statuses = api.fetch_previous(next_statuses[0]['_pagination_prev']) 36 previous_statuses = api.fetch_previous(next_statuses[0]._pagination_prev)
37 assert previous_statuses 37 assert previous_statuses
38 38
39 39
Powered by cgit v1.2.3 (git 2.41.0)