Exemplo n.º 1
0
def test_catch_empty_ensemble():
    e = Ensemble("empty", {}, batch_settings=SbatchSettings())
    cont = Controller(launcher="local")
    with pytest.raises(SSConfigError):
        cont._sanity_check_launch(None, [e])
Exemplo n.º 2
0
def test_wrong_orchestrator():
    orc = PBSOrchestrator(6780, db_nodes=3)
    cont = Controller(launcher="local")
    with pytest.raises(SSConfigError):
        cont._sanity_check_launch(orc, [])