Belle II Software
development
fitting_examples.py
1
#!/usr/bin/env python3
2
# -- analysis/tests/fitting_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_fitting_examples
(self):
20
"""
21
Test supported fitting examples.
22
"""
23
24
self._test_examples_dir('analysis/examples/fitting/'
)
25
26
27
if
__name__ ==
'__main__'
:
28
with
b2tu.clean_working_directory():
29
b2tua.unittest.main()
fitting_examples.ExamplesTest
extend the examples test class to actually run over the fitting examples:
Definition:
fitting_examples.py:18
fitting_examples.ExamplesTest.test_fitting_examples
def test_fitting_examples(self)
Definition:
fitting_examples.py:19
analysis
tests
fitting_examples.py
Generated on Fri Nov 8 2024 02:32:55 for Belle II Software by
1.9.6