Definition at line 367 of file helpers.py.
def helpers.TestModuleCommand.setUp |
( |
|
self | ) |
|
def helpers.TestModuleCommand.testCloning |
( |
|
self | ) |
|
Definition at line 371 of file helpers.py.
372 p = cms.Process(
"test")
373 p.a = cms.EDProducer(
"a", src=cms.InputTag(
"gen"))
374 p.b = cms.EDProducer(
"b", src=cms.InputTag(
"a"))
375 p.c = cms.EDProducer(
"c", src=cms.InputTag(
"b",
"instance"))
376 p.s = cms.Sequence(p.a*p.b*p.c *p.a)
378 self.assertEqual(p.dumpPython(),
379 """import FWCore.ParameterSet.Config as cms def cloneProcessingSnippet(process, sequence, postfix, removePostfix="", noClones=[], addToTask=False)