'copy_all_course_assets'

@ddt.data(True, False)
def test_copy_assets(self, deprecated):

    self.set_up_assets(deprecated)
    dest_course = CourseLocator('test', 'destination', 'copy')
    self.contentstore.copy_all_course_assets(self.course1_key, dest_course)
    for filename in self.course1_files:
        asset_key = self.course1_key.make_asset_key('asset', filename)
        dest_key = dest_course.make_asset_key('asset', filename)
        source = self.contentstore.find(asset_key)
        copied = self.contentstore.find(dest_key)
        for propname in ['name', 'content_type', 'length', 'locked']:
            self.assertEqual(getattr(source, propname), getattr(copied, propname))
    (__, count) = self.contentstore.get_all_content_for_course(dest_course)
    self.assertEqual(count, len(self.course1_files))
