|
| | counter = kw.get('counter', 0) |
| | sg = PyAthena.py_svc("StoreGateSvc") |
| | name |
Simple test of a py-tool
Definition at line 75 of file PyTestsLib.py.
◆ __init__()
| python.tests.PyTestsLib.MyTool.__init__ |
( |
| self, |
|
|
| name = "MyTool", |
|
|
** | kw ) |
Definition at line 78 of file PyTestsLib.py.
78 def __init__(self, name = "MyTool", **kw):
79
80 kw['name'] = name
81 super(MyTool,self).__init__(**kw)
82
83 self.counter = kw.get('counter', 0)
84
◆ finalize()
| python.tests.PyTestsLib.MyTool.finalize |
( |
| self | ) |
|
Definition at line 91 of file PyTestsLib.py.
91 def finalize(self):
92 self.msg.info( "==> finalize..." )
93 self.msg.info( "cnt: %r",self.counter )
94 return StatusCode.Success
95
◆ initialize()
| python.tests.PyTestsLib.MyTool.initialize |
( |
| self | ) |
|
Definition at line 85 of file PyTestsLib.py.
86 self.sg = PyAthena.py_svc("StoreGateSvc")
87 self.msg.info( "==> initializing [%s]...", self.name )
88 self.msg.info( "cnt: %r",self.counter )
89 return StatusCode.Success
90
◆ counter
| python.tests.PyTestsLib.MyTool.counter = kw.get('counter', 0) |
◆ name
| python.tests.PyTestsLib.MyTool.name |
◆ sg
| python.tests.PyTestsLib.MyTool.sg = PyAthena.py_svc("StoreGateSvc") |
The documentation for this class was generated from the following file: