'This test will exercise the soft delete/restore functionality of the assets'

def test_asset_delete_and_restore(self):

    asset_key = self._delete_asset_in_course()
    content = contentstore().find(asset_key, throw_on_not_found=False)
    self.assertIsNone(content)
    content = contentstore('trashcan').find(asset_key, throw_on_not_found=False)
    self.assertIsNotNone(content)
    restore_asset_from_trashcan(unicode(asset_key))
    content = contentstore('trashcan').find(asset_key, throw_on_not_found=False)
    self.assertIsNotNone(content)
