Beispiel #1
0
def fixture_populated_mip_context(
    base_context: CGConfig,
    analysis_store: Store,
    mip_dna_housekeeper: HousekeeperAPI,
    project_dir: Path,
) -> CGConfig:
    base_context.housekeeper_api_ = mip_dna_housekeeper
    base_context.status_db_ = analysis_store
    base_context.delivery_path = str(project_dir)
    return base_context
Beispiel #2
0
def fixture_base_context(base_context: CGConfig, project_dir: Path,
                         real_housekeeper_api: HousekeeperAPI) -> CGConfig:
    base_context.housekeeper_api_ = real_housekeeper_api
    base_context.delivery_path = str(project_dir)
    return base_context