Belle II Software
development
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
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
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
_
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
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
test_prompt_scripts.py
1
8
import
unittest
9
from
unittest
import
TestCase
10
11
12
class
Test_Prompt
(TestCase):
13
"""
14
Checking prompt scripts directory.
15
"""
16
17
def
test_check
(self):
18
"""
19
Uses b2caf-prompt-check to make sure that scripts can all be imported
and
duplicate names
20
for
calibrations don
't exist.
21
"""
22
tool_name = "b2caf-prompt-check"
23
import
subprocess
24
try
:
25
subprocess.check_output(tool_name, stderr=subprocess.STDOUT, universal_newlines=
True
)
26
except
subprocess.CalledProcessError
as
e:
27
print(e.output)
28
raise
e
29
30
31
def
main
():
32
unittest.main()
33
34
35
if
__name__ ==
'__main__'
:
36
main
()
test_prompt_scripts.Test_Prompt
Definition:
test_prompt_scripts.py:12
test_prompt_scripts.Test_Prompt.test_check
def test_check(self)
Definition:
test_prompt_scripts.py:17
main
Definition:
main.py:1
calibration
tests
test_prompt_scripts.py
Generated on Wed Apr 9 2025 02:36:53 for Belle II Software by
1.9.6