CMS 3D CMS Logo

Public Member Functions

editorTools::TestEditorTools Class Reference

List of all members.

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.

00066                        :
            pass
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()