def test_container_with_volume(self):
        manifestation = _manifestation()
        application = Application(
            name='postgres',
            image=DockerImage.from_string('postgres'),
            volume=AttachedVolume(
                manifestation=manifestation,
                mountpoint=FilePath(b"/var/lib/postgresql/9.4/data/base")
            )
        )
        deployment = Deployment(
            nodes={
                Node(
                    uuid=self.NODE_A_UUID,
                    manifestations={manifestation.dataset_id:
                                    manifestation},
                    applications=[application]
                ),
                Node(uuid=self.NODE_B_UUID),
            },
        )
        expected = [
            container_configuration_response(
                application, self.NODE_A
            )
        ]
        return self._containers_test(deployment, expected)
When the cluster configuration includes a container with an attached
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/GetContainerConfigurationTestsMixin.test_container_with_volume