Public Member Functions | |
def | setUp |
def | testdumpPython |
Definition at line 64 of file editorTools.py.
def editorTools::TestEditorTools::setUp | ( | self | ) |
Definition at line 65 of file editorTools.py.
def editorTools::TestEditorTools::testdumpPython | ( | self | ) |
Definition at line 67 of file editorTools.py.
00068 : 00069 process = cms.Process('unittest') 00070 process.source=Source("PoolSource",fileNames = cms.untracked.string("file:file.root")) 00071 00072 changeSource(process,"file:filename.root") 00073 self.assertEqual(changeSource.dumpPython(), ('\nfrom FWCore.GuiBrowsers.editorTools import *\n', "\nchangeSource(process , 'file:filename.root')\n")) 00074 unittest.main()