'Create a course with *no* assets, and try copy them all to another course in the same modulestore.'

@ddt.data(*MODULESTORE_SETUPS)
def test_copy_all_assets_from_course_with_no_assets(self, storebuilder):

    with storebuilder.build() as (__, store):
        course1 = CourseFactory.create(modulestore=store)
        course2 = CourseFactory.create(modulestore=store)
        store.copy_all_asset_metadata(course1.id, course2.id, (ModuleStoreEnum.UserID.test * 101))
        self.assertEquals(len(store.get_all_asset_metadata(course1.id, 'asset')), 0)
        self.assertEquals(len(store.get_all_asset_metadata(course2.id, 'asset')), 0)
        all_assets = store.get_all_asset_metadata(course2.id, 'asset', sort=('displayname', ModuleStoreEnum.SortOrder.ascending))
        self.assertEquals(len(all_assets), 0)
