Belle II Software development
Test_Prompt Class Reference
Inheritance diagram for Test_Prompt:

Public Member Functions

def test_check (self)
 

Detailed Description

Checking prompt scripts directory.

Definition at line 12 of file test_prompt_scripts.py.

Member Function Documentation

◆ test_check()

def test_check (   self)
Uses b2caf-prompt-check to make sure that cripts can all be imported and duplicate names
for calibrations don't exist.

Definition at line 17 of file test_prompt_scripts.py.

17 def test_check(self):
18 """
19 Uses b2caf-prompt-check to make sure that cripts 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

The documentation for this class was generated from the following file: