Belle II Software
development
pidcalibration_examples.py
1
#!/usr/bin/env python3
2
# -- analysis/tests/pidcalibration_examples.py
3
4
11
12
import
b2test_utils
as
b2tu
13
import
b2test_utils_analysis
as
b2tua
14
15
16
17
18
class
ExamplesTest
(b2tua.ExamplesTest):
19
def
test_base_examples
(self):
20
"""
21
Test supported PID calibration examples.
22
"""
23
24
self._test_examples_dir('analysis/examples/PIDCalibration/'
)
25
26
27
if
__name__ ==
'__main__'
:
28
with
b2tu.clean_working_directory():
29
b2tua.unittest.main()
pidcalibration_examples.ExamplesTest
extend the examples test class to actually run over the PID calibration examples:
Definition:
pidcalibration_examples.py:18
pidcalibration_examples.ExamplesTest.test_base_examples
def test_base_examples(self)
Definition:
pidcalibration_examples.py:19
analysis
tests
pidcalibration_examples.py
Generated on Fri Nov 8 2024 02:32:57 for Belle II Software by
1.9.6