gaudirun.py
-v
--dry-run
from Gaudi.Configuration import *
from Configurables import Gaudi__Examples__HistoProps
h = Gaudi__Examples__HistoProps()
h.Histo1 = ('MyHistogram',-1,1,100)
h.Histo1 = ('MyHistogram',-5,5,500)
conf_dict = eval('\n'.join(stdout.splitlines()))
expected = {'Gaudi::Examples::HistoProps':
{'Histo1': ('MyHistogram', -5, 5, 500)}}
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))