def METHOD_NAME(self):
    other_user = UserFactory.create(is_staff=True)
    self.client.force_authenticate(user=other_user)
    for endpoint in self.endpoints:
        with self.subTest(endpoint=endpoint):
            response = self.client.get(endpoint)
            self.assertEqual(response.status_code, status.HTTP_200_OK)