'Verify that image names with spaces in them are cleaned'

def test_spaces_in_image_name(self):

    course_image = u'before    after.jpg'
    course = CourseFactory.create(course_image=u'before    after.jpg')
    self.verify_url(unicode(course.id.make_asset_key('asset', course_image.replace('    ', '_'))), course_image_url(course))
