'Scenario: Delete all sections/subsections/units in a course, "no content" message should appear
Given that I delete all sections, subsections, and units in a course
When I visit the course outline
Then I will see a message that says, "You haven\'t added any content to this course yet"
Add see a + Add Section button'

def test_delete_all_no_content_message(self):

    self.course_outline_page.visit()
    self.assertFalse(self.course_outline_page.has_no_content_message)
    self.course_outline_page.section_at(0).delete()
    self.assertEqual(len(self.course_outline_page.sections()), 0)
    self.assertTrue(self.course_outline_page.has_no_content_message)
