'Verifies that a student who is not enrolled cannot access the team dashboard.'

def test_not_enrolled_not_staff(self):

    self.client.login(username=self.user.username, password=self.test_password)
    response = self.client.get(self.teams_url)
    self.assertEqual(404, response.status_code)
