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

Public Member Functions

def setUp (self)
 
def test_1 (self)
 
def test_2 (self)
 
def test_3 (self)
 
def tearDown (self)
 

Public Attributes

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

Detailed Description

UnitTest for validity of Calibration class when given arguments of different types

Definition at line 103 of file test_framework.py.

Member Function Documentation

◆ setUp()

def setUp (   self)
Create useful objects for each test

Definition at line 108 of file test_framework.py.

◆ test_1()

def test_1 (   self)
Test whether or not calibration is valid with correct setup and if name is stored correctly

Definition at line 126 of file test_framework.py.

◆ test_2()

def test_2 (   self)
Test whether or not calibration is valid with alternative correct setup and if name is stored correctly

Definition at line 139 of file test_framework.py.

◆ test_3()

def test_3 (   self)
Test that the default options are correctly applied to a calibration

Definition at line 146 of file test_framework.py.


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