Belle II Software  release-08-01-10
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 validation scripts directory.

Definition at line 12 of file test_prompt_validation_scripts.py.

Member Function Documentation

◆ test_check()

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

Definition at line 17 of file test_prompt_validation_scripts.py.

17  def test_check(self):
18  """
19  Uses b2val-prompt-check to make sure that cripts can all be imported and duplicate names
20  for validations don't exist.
21  """
22  tool_name = "b2val-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: