'An API request to move a container to a new host returns the
expected JSON response.'

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('POST', '/configuration/containers/mycontainer', request, OK, result)
    d.addCallback(update_container)
    return d
