'If a volume is specified with a valid dataset, the relevant
information is returned in the JSON response.'

def test_dataset_result(self):

    dataset_id = unicode(uuid4())
    json = {u'node_uuid': self.NODE_A, u'name': u'postgres', u'image': u'postgres:latest', u'volumes': [{u'dataset_id': dataset_id, u'mountpoint': u'/db'}], u'restart_policy': {u'name': u'never'}}
    d = self.assertResponseCode('POST', '/configuration/datasets', {u'dataset_id': dataset_id, u'primary': self.NODE_A}, CREATED)
    d.addCallback((lambda _: self.assertResult('POST', '/configuration/containers', json, CREATED, json)))
    return d
