Belle II Software
light-2411-aldebaran
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
Typedefs
a
b
c
d
l
m
n
p
r
s
w
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
c
d
e
f
h
i
m
o
p
r
s
t
v
w
Enumerations
b
c
e
g
h
m
p
s
t
v
Enumerator
b
c
k
t
Related Functions
Files
File List
File Members
All
Functions
simulation_examples.py
1
#!/usr/bin/env python3
2
# -- analysis/tests/simulation_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_simulation_examples
(self):
20
"""
21
Test supported simulation examples.
22
"""
23
b2tu.skip_test_if_light(self)
# simulation doesn't work in light releases
24
25
# list of broken examples (to be removed when they are individually fixed)
26
broken_sim_egs = [
'B2A105-SimulateAndReconstruct-withBeamBkg.py'
]
# no beam background files on GitLab runner
27
28
self._test_examples_dir(
'analysis/examples/simulations/'
, broken_sim_egs)
29
30
31
if
__name__ ==
'__main__'
:
32
with
b2tu.clean_working_directory():
33
b2tua.unittest.main()
simulation_examples.ExamplesTest
extend the examples test class to actually run over the simulation examples:
Definition:
simulation_examples.py:18
simulation_examples.ExamplesTest.test_simulation_examples
def test_simulation_examples(self)
Definition:
simulation_examples.py:19
analysis
tests
simulation_examples.py
Generated on Wed Dec 4 2024 07:08:45 for Belle II Software by
1.9.6