'Tests course outline when \'display_coursenumber\' field is none.'

def test_course_outline_with_display_course_number_as_none(self):

    self.course.display_coursenumber = None
    updated_course = self.update_course(self.course, self.user.id)
    self.assertEqual(updated_course.display_coursenumber, None)
    course_outline_url = reverse_course_url('course_handler', updated_course.id)
    response = self.client.get_html(course_outline_url)
    self.assertEqual(response.status_code, 200)
    self.assertIn('display_course_number:    ""', response.content)
