'A valid API request to create a container including CPU shares
results in an updated configuration.'

def test_create_container_with_cpu_shares(self):

    request_data = [{u'node_uuid': self.NODE_A, u'name': u'webserver', u'image': u'nginx', u'cpu_shares': 512}]
    node_data = {Node(uuid=self.NODE_A_UUID, applications=WEBSERVER_APPLICATIONS.transform([WEBSERVER_APPLICATION.name, 'cpu_shares'], 512)), Node(uuid=self.NODE_B_UUID)}
    return self._test_create_container(request_data, node_data)
