'Tests that we behave as expected if no source image was specified.'

@override_settings(DEFAULT_COURSE_ABOUT_IMAGE_URL='default_course.png')
@override_settings(STATIC_URL='static/')
@ddt.data(*itertools.product([ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split], [None, '']))
@ddt.unpack
def test_no_source_image(self, modulestore_type, course_image):

    fallback_url = (settings.STATIC_URL + settings.DEFAULT_COURSE_ABOUT_IMAGE_URL)
    course_overview = self._assert_image_urls_all_default(modulestore_type, course_image, fallback_url)
    self.assertTrue(hasattr(course_overview, 'image_set'))
