gaudirun.py -v-n VAR1=v1VAR2=v2 Alg.Prop1 = "$VAR1"; Alg.Prop2 = { "$VAR1", "$VAR2" }; Alg.Prop3 = ( "$VAR1", "$VAR2" ); Alg.Prop4 = { "$VAR1": "value", "key": "$VAR2" }; conf_dict = eval('\n'.join(stdout.splitlines())) expected = {'Alg': {'Prop1': '$VAR1', 'Prop2': ['$VAR1', '$VAR2'], 'Prop3': ('$VAR1', '$VAR2'), 'Prop4': {'$VAR1': 'value', 'key': '$VAR2'}}} 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))