EDUCATOR-5080 - All tests passing, all code review comments addressed

This commit is contained in:
Justin Lapierre
2020-07-08 08:27:04 -04:00
parent 6797c9c0fa
commit d5a01142a8
2 changed files with 2 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ class CourseTeamMembership(models.Model):
Args:
user: the user that we want to query on
course_id: the course_id of the course we're interested in
teamset_id: the teamset_id (formaerly topic_id) of the course we are interested in
topic_id: the topic_id of the course we are interested in
Returns:
True if the user is on a team in a teamset in the course already

View File

@@ -1080,7 +1080,7 @@ class TestCreateTeamAPI(EventTestMixin, TeamAPITestCase):
@ddt.data(
(None, 401),
('student_inactive', 401),
('student_unenrolled', 400),
('student_unenrolled', 403),
('student_enrolled_not_on_team', 200),
('staff', 200),
('course_staff', 200),