def METHOD_NAME(self):
    # log in student1
    success = self.client.login(username=self.test_teacher.username, password=self.test_password)
    self.assertTrue(success)
    # Accessible views:
    self.assertEqual(self.client.get(reverse('notifications:list')).status_code, 200)
    self.assertEqual(self.client.get(reverse('notifications:list_unread')).status_code, 200)
    # Bad id notification read request should redirect to list view
    self.assertRedirects(
        response=self.client.get(reverse('notifications:read', args=[999])),
        expected_url=reverse('notifications:list'),
    )
    self.assertRedirects(
        response=self.client.get(reverse('notifications:read_all')),
        expected_url=reverse('notifications:list'),
    )
    # Inaccessible views:
    self.assertEqual(self.client.get(reverse('notifications:ajax_mark_read')).status_code, 404)  # requires POST
    self.assertEqual(self.client.get(reverse('notifications:ajax')).status_code, 404)  # requires POST