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

def test_not_enrolled_staff(self):

    staff_user = UserFactory(is_staff=True, password=self.test_password)
    staff_client = APIClient()
    staff_client.login(username=staff_user.username, password=self.test_password)
    response = staff_client.get(self.teams_url)
    self.assertContains(response, 'TeamsTabFactory', status_code=200)
