def METHOD_NAME(self):
    cols = [
        {"name": "foo", "data": [1, 2, 3]},
        {"name": "bar", "data": ["b", "a", "r"]},
    ]
    body = {"cols": _json.dumps(cols, sort_keys=True)}
    grids.col_update("hodor:88", "aaaaaa,bbbbbb", body)
    assert self.request_mock.call_count == 1
    args, kwargs = self.request_mock.call_args
    method, url = args
    self.assertEqual(method, "put")
    self.assertEqual(url, "{}/v2/grids/hodor:88/col".format(self.plotly_api_domain))
    self.assertEqual(kwargs["params"], {"uid": "aaaaaa,bbbbbb"})
    self.assertEqual(kwargs["data"], _json.dumps(body, sort_keys=True))