gaudirun.py
from Gaudi.Configuration import *
from Configurables import GaudiTesting__GetDataObjectAlg as GetDataObjectAlg
dod = DataOnDemandSvc(
UsePreceedingPath = True,
AlgMap = { "MissingObject": "NoAlgorithm" },
PreInitialize = True
)
alg = GetDataObjectAlg()
alg.Paths = ["MissingObject"]
ApplicationMgr(TopAlg = [alg],
ExtSvc = [dod],
EvtSel = "NONE",
EvtMax = 1)
EventDataSvc().EnableFaultHandler = True
1
expected = "ERROR Unable to initialize Service: DataOnDemandSvc"
if not expected in stdout:
causes.append("missing signature")
result["GaudiTest.expected_line"] = result.Quote(expected)