Definition at line 5 of file bug_35913_test.py.
| def newFormat.bug_35913_test.Test.__init__ |
( |
|
self | ) |
|
Definition at line 7 of file bug_35913_test.py.
9 BaseTest.__init__(self)
10 self.
name = os.path.basename(__file__)[:-5]
12 self.
args=[
"-v",
"--dry-run"]
14 from Gaudi.Configuration import *
15 from Configurables import Gaudi__Examples__HistoProps
16 h = Gaudi__Examples__HistoProps()
17 h.Histo1 = ('MyHistogram',-1,1,100)
18 h.Histo1 = ('MyHistogram',-5,5,500)"""
| def newFormat.bug_35913_test.Test.validator |
( |
|
self, |
|
|
|
stdout, |
|
|
|
stderr, |
|
|
|
result, |
|
|
|
causes, |
|
|
|
reference, |
|
|
|
error_reference |
|
) |
| |
Definition at line 19 of file bug_35913_test.py.
20 def validator(self,stdout,stderr, result, causes, reference, error_reference):
21 conf_dict = eval(
'\n'.join(stdout.splitlines()))
22 expected = {
'Gaudi::Examples::HistoProps':
23 {
'Histo1': (
'MyHistogram', -5, 5, 500)}}
25 if conf_dict != expected:
26 causes.append(
"configuration result")
27 from pprint
import PrettyPrinter
29 result[
"GaudiTest.configuration.expected"] = result.Quote(pp.pformat(expected))
result[
"GaudiTest.configuration.found"] = result.Quote(pp.pformat(conf_dict))
| newFormat.bug_35913_test.Test.args |
| newFormat.bug_35913_test.Test.name |
| newFormat.bug_35913_test.Test.options |
| newFormat.bug_35913_test.Test.program |
The documentation for this class was generated from the following file: