def create_dataset_record(self, dataset):

        LOGGER.info("Create dataset record:")
        LOGGER.info("    dataset = %s", dataset)

        if re.match(r'^rollback', dataset.dataset_path):
            raise DatasetError("Testing transaction rollback.")

        assert self.dataset is dataset, \
            "Mismatched datasets in acquisition record."

        dataset_record = DummyDatasetRecord(self.collection, self.dataset)

        LOGGER.info("    returning: %s", dataset_record)
        return dataset_record
Raise a DatasetError if the dataset path starts with 'rollback'.
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_abstract_ingester.py/DummyAcquisitionRecord.create_dataset_record