def METHOD_NAME(self):
    visualization = self.factory.create_visualization()
    models.db.session.commit()
    rv = self.make_request(
        "post",
        "/api/visualizations/{0}".format(visualization.id),
        data={"name": "After Update"},
    )
    self.assertEqual(rv.status_code, 200)
    self.assertEqual(rv.json["name"], "After Update")