gaudirun.py
-v-n
from Gaudi.Configuration import *
from Configurables import MyTool
pub = MyTool("Public")
pub.addTool(MyTool,"Private")
pub.Private.OutputLevel = INFO
conf_dict = eval('\n'.join(stdout.splitlines()))
expected = {'ToolSvc.Public.Private': {'OutputLevel': 3}}
if conf_dict != expected:
causes.append("configuration result")
from pprint import PrettyPrinter
pp = PrettyPrinter()
result["GaudiTest.configuration.expected"] = result.Quote(pp.pformat(expected))
result["GaudiTest.configuration.found"] = result.Quote(pp.pformat(conf_dict))