![]() |
Belle II Software development
|
Public Member Functions | |
setUp (self) | |
test_1 (self) | |
test_2 (self) | |
test_3 (self) | |
test_4 (self) | |
test_5 (self) | |
test_6 (self) | |
tearDown (self) | |
Public Attributes | |
alg1 = TestAlgo() | |
Calibration algorithm for use in unittests. | |
alg2 = TestAlgo() | |
Calibration algorithm attribute for use in unittests. | |
col1 = b2.register_module('CaTest') | |
Collector module attribute for use in unittests. | |
example_file1 = Path("example1.root") | |
Path to an example file. | |
example_file2 = Path("example2.root") | |
Path to a second example file. | |
UnitTest for configuration of Calibration class
Definition at line 23 of file test_framework.py.
setUp | ( | self | ) |
Create useful objects for each test
Definition at line 28 of file test_framework.py.
tearDown | ( | self | ) |
Unlink example files
Definition at line 99 of file test_framework.py.
test_1 | ( | self | ) |
Test whether or not calibration is valid with incorrect setup.
Definition at line 47 of file test_framework.py.
test_2 | ( | self | ) |
Test whether or not calibration is valid with incorrect setup.
Definition at line 54 of file test_framework.py.
test_3 | ( | self | ) |
Test whether or not calibration is valid with incorrect setup.
Definition at line 62 of file test_framework.py.
test_4 | ( | self | ) |
Test whether or not calibration is valid with incorrect setup.
Definition at line 70 of file test_framework.py.
test_5 | ( | self | ) |
Test whether or not calibration is valid with correct setup.
Definition at line 79 of file test_framework.py.
test_6 | ( | self | ) |
Test whether or not calibration is valid with alternative correct setup.
Definition at line 89 of file test_framework.py.
alg1 = TestAlgo() |
Calibration algorithm for use in unittests.
Definition at line 35 of file test_framework.py.
alg2 = TestAlgo() |
Calibration algorithm attribute for use in unittests.
Definition at line 37 of file test_framework.py.
col1 = b2.register_module('CaTest') |
Collector module attribute for use in unittests.
Definition at line 39 of file test_framework.py.
example_file1 = Path("example1.root") |
Path to an example file.
Definition at line 41 of file test_framework.py.
example_file2 = Path("example2.root") |
Path to a second example file.
Definition at line 43 of file test_framework.py.