'setting unknown attrs should fail'

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

    with storebuilder.build() as (__, store):
        course = CourseFactory.create(modulestore=store)
        new_asset_loc = course.id.make_asset_key('asset', 'burnside.jpg')
        new_asset_md = self._make_asset_metadata(new_asset_loc)
        store.save_asset_metadata(new_asset_md, ModuleStoreEnum.UserID.test)
        for (attribute, value) in self.UNKNOWN_ATTRS:
            store.set_asset_metadata_attr(new_asset_loc, attribute, value, ModuleStoreEnum.UserID.test)
            updated_asset_md = store.find_asset_metadata(new_asset_loc)
            self.assertIsNotNone(updated_asset_md)
            with self.assertRaises(AttributeError):
                self.assertEquals(getattr(updated_asset_md, attribute), value)
