CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
editorTools.TestEditorTools Class Reference
Inheritance diagram for editorTools.TestEditorTools:

Public Member Functions

def setUp
 
def testdumpPython
 

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 
66  def setUp(self):
pass
def editorTools.TestEditorTools.testdumpPython (   self)

Definition at line 67 of file editorTools.py.

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