def test_response(self):
        d = self._create_container()

        def update_container(_):
            request = {u"node_uuid": self.NODE_B}
            result = {
                u"node_uuid": self.NODE_B,
                u"name": u"mycontainer",
                u"image": u"busybox:latest",
                u"restart_policy": {u"name": u"never"}
            }
            return self.assertResult(
                b"POST", b"/configuration/containers/mycontainer",
                request, OK, result
            )

        d.addCallback(update_container)
        return d
An API request to move a container to a new host returns the
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/UpdateContainerConfigurationTestsMixin.test_response