Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions lms/djangoapps/instructor/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,10 @@ def test_list_course_role_members_staff(self):
'first_name': self.other_staff.first_name,
'last_name': self.other_staff.last_name,
}
]
],
'count': 1,
'num_pages': 1,
'current_page': 1,
}
res_json = json.loads(response.content.decode('utf-8'))
assert res_json == expected
Expand All @@ -2440,7 +2443,10 @@ def test_list_course_role_members_beta(self):
# check response content
expected = {
'course_id': str(self.course.id),
'beta': []
'beta': [],
'count': 0,
'num_pages': 0,
'current_page': 1,
}
res_json = json.loads(response.content.decode('utf-8'))
assert res_json == expected
Expand Down
Loading
Loading