'Make sure we elegantly passover our code when there isn\'t a static
image'

def test_course_without_image(self):

    course = self.draft_store.get_course(CourseKey.from_string('edX/simple_with_draft/2012_Fall'))
    root_dir = path(mkdtemp())
    self.addCleanup(shutil.rmtree, root_dir)
    export_course_to_xml(self.draft_store, self.content_store, course.id, root_dir, 'test_export')
    self.assertFalse(path((root_dir / 'test_export/static/images/course_image.jpg')).isfile())
    self.assertFalse(path((root_dir / 'test_export/static/images_course_image.jpg')).isfile())
