def METHOD_NAME(self):
    os.makedirs(self.rucio_path, exist_ok=True)
    for key in self.test_keys:
        did = straxen.key_to_rucio_did(key)
        metadata = {
            'writing_ended': 1,
            'chunks': [{"filename": f"{key.data_type}-{key.lineage_hash}-000000",
                        },
                       ],
            "lineage_hash": key.lineage_hash,
            "lineage": key.lineage,
        }
        self.write_md(self.rucio_path, did, metadata)
        self.write_chunks(self.rucio_path, did, [c['filename'] for c in metadata['chunks']])