'Successful HTTP requests are logged.'

@capture_logging(None)
def test_logging(self, logger):

    dataset_id = uuid4()
    d = self.client.create_dataset(primary=self.node_1.uuid, maximum_size=None, dataset_id=dataset_id)
    d.addCallback((lambda _: assertHasAction(self, logger, _LOG_HTTP_REQUEST, True, dict(url='https://127.0.0.1:{}/v1/configuration/datasets'.format(self.port), method=u'POST', request_body=dict(primary=unicode(self.node_1.uuid), metadata={}, dataset_id=unicode(dataset_id))), dict(response_body=dict(primary=unicode(self.node_1.uuid), metadata={}, deleted=False, dataset_id=unicode(dataset_id))))))
    return d
