Definition at line 42 of file usedOutput.py.
def usedOutput.TestPrintPath.testGetModules |
( |
|
self | ) |
|
Definition at line 43 of file usedOutput.py.
References usedOutput.extractUsedOutputs(), and usedOutput.getModulesFromSequence().
46 p.foo = cms.EDProducer(
"Foo")
53 p.foo = cms.OutputModule(
"Foo")
54 p.bar = cms.OutputModule(
"Bar")
55 p.unused = cms.OutputModule(
"Unused")
56 p.p = cms.EndPath(p.foo*p.bar)
58 print len(usedOutputs)
61 p.foo = cms.EDProducer(
"Foo")
62 p.bar = cms.EDProducer(
"Bar")
63 p.s = cms.Sequence(p.foo*p.bar)
64 p.fii = cms.EDProducer(
"Fii")
65 p.p = cms.Path(p.s*p.fii)
unittest.main()
def getModulesFromSequence