@pytest.fixture
def mock_file_system(tmp_path):
    airflow_path = (tmp_path / 'opt/airflow/')
    source_dir = (airflow_path / 'symphony')
    source_dir.mkdir(parents=True)
    sample_marc = (source_dir / 'sample.mrc')
    sample_marc.write_text('sample')
    target_dir = (airflow_path / 'migration/data/instances/')
    target_dir.mkdir(parents=True)
    results_dir = (airflow_path / 'migration/results')
    results_dir.mkdir(parents=True)
    archive_dir = (airflow_path / 'migration/archive')
    archive_dir.mkdir(parents=True)
    tmp = (tmp_path / 'tmp/')
    tmp.mkdir(parents=True)
    return [airflow_path, source_dir, target_dir, results_dir, archive_dir, tmp]
@pytest.fixture
def mock_file_system(tmp_path):
    airflow_path = (tmp_path / 'opt/airflow/')
    source_dir = (airflow_path / 'symphony')
    source_dir.mkdir(parents=True)
    sample_marc = (source_dir / 'sample.mrc')
    sample_marc.write_text('sample')
    target_dir = (airflow_path / 'migration/data/instances/')
    target_dir.mkdir(parents=True)
    results_dir = (airflow_path / 'migration/results')
    results_dir.mkdir(parents=True)
    archive_dir = (airflow_path / 'migration/archive')
    archive_dir.mkdir(parents=True)
    tmp = (tmp_path / 'tmp/')
    tmp.mkdir(parents=True)
    return [airflow_path, source_dir, target_dir, results_dir, archive_dir, tmp]