'Gets the list of user course specific teams.'

def get_user_course_specific_teams_list(self):

    user = self.create_and_enroll_student(courses=[self.test_course_1, self.test_course_2], username='test_user_enrolled_both_courses')
    course_one_data = {'course_id': self.test_course_1.id, 'username': user}
    course_two_data = {'course_id': self.test_course_2.id, 'username': user}
    team_list = self.get_teams_list(user=user, expected_status=200, data=course_one_data)
    self.assertEqual(team_list['count'], 0)
    self.solar_team.add_user(self.users[user])
    team_list = self.get_teams_list(user=user, expected_status=200, data=course_one_data)
    self.assertEqual(team_list['count'], 1)
    team_list = self.get_teams_list(user=user, expected_status=200, data=course_two_data)
    self.assertEqual(team_list['count'], 0)
