def METHOD_NAME(self):
    asset = self.create_girafe_asset()
    assets = index_service.search_assets("girafe")
    self.assertEqual(len(assets), 1)
    self.put("data/entities/%s" % asset["id"], {"name": "Elephant"})
    assets = self.post("data/search", {"query": "girafe"}, 200)["assets"]
    self.assertEqual(len(assets), 0)
    assets = self.post("data/search", {"query": "elephant"}, 200)["assets"]
    self.assertEqual(len(assets), 1)