CMS 3D CMS Logo

List of all members | Public Member Functions
eventstfile_test.EventsTFileTestCase Class Reference
Inheritance diagram for eventstfile_test.EventsTFileTestCase:

Public Member Functions

def test (self)
 

Detailed Description

Definition at line 9 of file eventstfile_test.py.

Member Function Documentation

◆ test()

def eventstfile_test.EventsTFileTestCase.test (   self)

Definition at line 11 of file eventstfile_test.py.

References testtree.create_tree().

Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().

11  def test(self):
12  events = Events(testfname, 'test_tree')
13  event = events.to(2)
14  for iev, ev in enumerate(events):
15  self.assertEqual(iev, ev.var1)