EDUCATOR-5080 - All tests passing, all code review comments addressed
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user