'Verifies that a user without global access who is enrolled in the course can access the team dashboard.'

def test_enrolled_not_staff(self):

    CourseEnrollmentFactory.create(user=self.user, course_id=self.course.id)
    self.client.login(username=self.user.username, password=self.test_password)
    response = self.client.get(self.teams_url)
    self.assertContains(response, 'TeamsTabFactory', status_code=200)
