Main Page
Namespaces
Classes
Package Documentation
Class List
Class Index
Class Hierarchy
Class Members
service_test
ServiceTestCase
List of all members
|
Public Member Functions
service_test.ServiceTestCase Class Reference
Inheritance diagram for service_test.ServiceTestCase:
Public Member Functions
def
test_tfile
(self)
Detailed Description
Definition at line
8
of file
service_test.py
.
Member Function Documentation
def
service_test.ServiceTestCase.test_tfile
(
self
)
Definition at line
10
of file
service_test.py
.
10
def
test_tfile
(self):
11
config = cfg.Service(TFileService,
12
'myhists'
,
13
fname =
'histos.root'
,
14
option =
'recreate'
)
15
dummy =
None
16
dirname =
'test_dir'
17
if
os.path.exists(dirname):
18
shutil.rmtree(dirname)
19
os.mkdir(dirname)
20
fileservice =
TFileService
(config, dummy, dirname)
21
fileservice.start()
22
fileservice.stop()
23
shutil.rmtree(dirname)
24
service_test.ServiceTestCase.test_tfile
def test_tfile(self)
Definition:
service_test.py:10
tfile.TFileService
Definition:
tfile.py:4
Generated for CMSSW Reference Manual by
1.8.11