From 1297f0af45ba9027b5f8c43c2d7c9c613bc1c7df Mon Sep 17 00:00:00 2001 From: Ehtesham Date: Tue, 12 Jan 2016 05:01:58 +0500 Subject: [PATCH] [MA-1862] changing next to next_link, next is builtin --- lms/djangoapps/discussion_api/tests/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/djangoapps/discussion_api/tests/utils.py b/lms/djangoapps/discussion_api/tests/utils.py index 8e8675b02c..76e88dcd87 100644 --- a/lms/djangoapps/discussion_api/tests/utils.py +++ b/lms/djangoapps/discussion_api/tests/utils.py @@ -373,14 +373,14 @@ def make_minimal_cs_comment(overrides=None): return ret -def make_paginated_api_response(results, count, num_pages, next, previous): +def make_paginated_api_response(results, count, num_pages, next_link, previous_link): """ Generates the response dictionary of paginated APIs with passed data """ return { "pagination": { - "next": next, - "previous": previous, + "next": next_link, + "previous": previous_link, "count": count, "num_pages": num_pages, },