Belle II Software  release-06-02-00
TestCalibrationClass_Configure Class Reference
Inheritance diagram for TestCalibrationClass_Configure:
Collaboration diagram for TestCalibrationClass_Configure:

Public Member Functions

def setUp (self)
 
def test_1 (self)
 
def test_2 (self)
 
def test_3 (self)
 
def test_4 (self)
 
def test_5 (self)
 
def test_6 (self)
 
def tearDown (self)
 

Public Attributes

 alg1
 Calibration algorithm for use in unittests.
 
 alg2
 Calibration algorithm attribute for use in unittests.
 
 col1
 Collector module attribute for use in unittests.
 
 example_file1
 Path to an example file.
 
 example_file2
 

Detailed Description

UnitTest for configuration of Calibration class

Definition at line 25 of file test_framework.py.

Member Function Documentation

◆ setUp()

def setUp (   self)
Create useful objects for each test

Definition at line 30 of file test_framework.py.

30  def setUp(self):
31  """
32  Create useful objects for each test
33  """
34 
35  self.alg1 = TestAlgo()
36 
37  self.alg2 = TestAlgo()
38 
39  self.col1 = b2.register_module('CaTest')
40 
41  self.example_file1 = Path("example1.root")
42  self.example_file2 = Path("example2.root")
43  self.example_file1.touch()
44  self.example_file2.touch()
45 

◆ test_1()

def test_1 (   self)
Test whether or not calibration is valid with incorrect setup.

Definition at line 46 of file test_framework.py.

◆ test_2()

def test_2 (   self)
Test whether or not calibration is valid with incorrect setup.

Definition at line 53 of file test_framework.py.

◆ test_3()

def test_3 (   self)
Test whether or not calibration is valid with incorrect setup.

Definition at line 61 of file test_framework.py.

◆ test_4()

def test_4 (   self)
Test whether or not calibration is valid with incorrect setup.

Definition at line 69 of file test_framework.py.

◆ test_5()

def test_5 (   self)
Test whether or not calibration is valid with correct setup.

Definition at line 78 of file test_framework.py.

◆ test_6()

def test_6 (   self)
Test whether or not calibration is valid with alternative correct setup.

Definition at line 88 of file test_framework.py.


The documentation for this class was generated from the following file: