'Gets the list of teams as the given user with data as query params. Verifies expected_status.'

def get_teams_list(self, expected_status=200, data=None, no_course_id=False, **kwargs):

    data = (data if data else {})
    if (('course_id' not in data) and (not no_course_id)):
        data.update({'course_id': self.test_course_1.id})
    return self.make_call(reverse('teams_list'), expected_status, 'get', data, **kwargs)
