'Verify that the About Page honors the permission settings in the course module'

@override_settings(COURSE_ABOUT_VISIBILITY_PERMISSION='see_about_page')
def test_visible_about_page_settings(self):

    url = reverse('about_course', args=[self.course_with_about.id.to_deprecated_string()])
    resp = self.client.get(url)
    self.assertEqual(resp.status_code, 200)
    self.assertIn('WITH    ABOUT', resp.content)
    url = reverse('about_course', args=[self.course_without_about.id.to_deprecated_string()])
    resp = self.client.get(url)
    self.assertEqual(resp.status_code, 404)
