Skip to content

Commit

Permalink
chore: minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Dec 16, 2024
1 parent 0615699 commit af6edc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lms/djangoapps/instructor/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,10 @@ def test_add_notenrolled_username_autoenroll(self):

def test_add_notenrolled_username_autoenroll_with_multiple_users(self):
url = reverse('bulk_beta_modify_access', kwargs={'course_id': str(self.course.id)})
identifiers = f"[email protected], [email protected]\n[email protected]\r [email protected]\r, [email protected], {self.notenrolled_student.username}"
identifiers = (f"[email protected], "
f"[email protected]\n[email protected]\r [email protected]\r, [email protected], "
f"{self.notenrolled_student.username}"
)
response = self.client.post(url, {'identifiers': identifiers, 'action': 'add', 'email_students': False, 'auto_enroll': True}) # lint-amnesty, pylint: disable=line-too-long
assert 6, len(json.loads(response.content.decode())['results'])

Expand Down

0 comments on commit af6edc8

Please sign in to comment.