'An API request to create a container including links to be injected in
to the container returns the link information in the response JSON.'

def test_create_container_with_links_response(self):

    container_json = pmap({u'node_uuid': self.NODE_B, u'name': u'webserver', u'image': u'nginx:latest', u'links': [{u'alias': u'postgres', u'local_port': 5432, u'remote_port': 54320}]})
    container_json_response = container_json.set(u'restart_policy', {u'name': 'never'})
    return self.assertResult('POST', '/configuration/containers', dict(container_json), CREATED, dict(container_json_response))
