Skip to content

Commit db2f35f

Browse files
Update tests/http/models/test_pagination.py
Co-authored-by: Susana <3016283+svazquezco@users.noreply.github.com>
1 parent 5fd9425 commit db2f35f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/http/models/test_pagination.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ def test_has_next(mocker, num_page, total_pages, expected_has_next):
3737
mocker.patch.object(pagination, "num_page", return_value=num_page)
3838
mocker.patch.object(pagination, "total_pages", return_value=total_pages)
3939

40-
assert pagination.has_next() == expected_has_next
40+
has_next = pagination.has_next()
41+
42+
assert has_next == expected_has_next
4143

4244

4345
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)