'A valid API request to create a container including CPU shares
returns the CPU shares supplied in the request in the response
JSON.'

def test_create_container_with_cpu_shares_response(self):

    container_json = pmap({u'node_uuid': self.NODE_B, u'name': u'webserver', u'image': u'nginx:latest', u'cpu_shares': 512})
    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))
