Belle II Software  release-05-02-19
Test_Prompt Class Reference
Inheritance diagram for Test_Prompt:
Collaboration diagram for Test_Prompt:

Public Member Functions

def test_check (self)
 

Detailed Description

Checking prompt scripts directory.

Definition at line 5 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 10 of file test_prompt_scripts.py.

10  def test_check(self):
11  """
12  Uses b2caf-prompt-check to make sure that cripts can all be imported and duplicate names
13  for calibrations don't exist.
14  """
15  tool_name = "b2caf-prompt-check"
16  import subprocess
17  output = ""
18  try:
19  subprocess.check_output(tool_name, stderr=subprocess.STDOUT, universal_newlines=True)
20  except subprocess.CalledProcessError as e:
21  print(e.output)
22  raise e
23 
24 

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