'Save the metadata in each store and retrieve it singularly, as all assets, and after deleting all.'

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

    with storebuilder.build() as (__, store):
        course = CourseFactory.create(modulestore=store)
        asset_filename = 'burnside.jpg'
        new_asset_loc = course.id.make_asset_key('asset', asset_filename)
        new_asset_md = self._make_asset_metadata(new_asset_loc)
        store.save_asset_metadata(new_asset_md, ModuleStoreEnum.UserID.test)
        found_asset_md = store.find_asset_metadata(new_asset_loc)
        self.assertIsNotNone(found_asset_md)
        self.assertEquals(new_asset_md, found_asset_md)
        self.assertEquals(len(store.get_all_asset_metadata(course.id, 'asset')), 1)
