def METHOD_NAME(self):
    filename = "a plot"
    plots.create({"filename": filename})
    assert self.request_mock.call_count == 1
    args, kwargs = self.request_mock.call_args
    method, url = args
    self.assertEqual(method, "post")
    self.assertEqual(url, "{}/v2/plots".format(self.plotly_api_domain))
    self.assertEqual(kwargs["data"], '{{"filename": "{}"}}'.format(filename))