CMS 3D CMS Logo

List of all members | Public Member Functions
editorTools.TestEditorTools Class Reference
Inheritance diagram for editorTools.TestEditorTools:

Public Member Functions

def setUp (self)
 
def testdumpPython (self)
 

Detailed Description

Definition at line 64 of file editorTools.py.

Member Function Documentation

def editorTools.TestEditorTools.setUp (   self)

Definition at line 65 of file editorTools.py.

65  def setUp(self):
66  pass
def editorTools.TestEditorTools.testdumpPython (   self)

Definition at line 67 of file editorTools.py.

67  def testdumpPython(self):
68  process = cms.Process('unittest')
69  process.source=Source("PoolSource",fileNames = cms.untracked.string("file:file.root"))
70 
71  changeSource(process,"file:filename.root")
72  self.assertEqual(changeSource.dumpPython(), ('\nfrom FWCore.GuiBrowsers.editorTools import *\n', "\nchangeSource(process , 'file:filename.root')\n"))
73 
74  unittest.main()