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])
def test_wrong_orchestrator(): orc = PBSOrchestrator(6780, db_nodes=3) cont = Controller(launcher="local") with pytest.raises(SSConfigError): cont._sanity_check_launch(orc, [])