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(
            b"POST", b"/configuration/containers",
            dict(container_json), CREATED, dict(container_json_response)
        )
Returns a Series containing counts of each category.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/CreateContainerTestsMixin.test_create_container_with_links_response--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical.value_counts