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