Belle II Software  release-06-01-15
TestCAF Class Reference
Inheritance diagram for TestCAF:
Collaboration diagram for TestCAF:

Public Member Functions

def setUp (self)
 
def test_add_calibration (self)
 
def test_add_dependency_on_itself (self)
 
def test_make_output_dir (self)
 
def test_config_output_dir (self)
 
def tearDown (self)
 

Public Attributes

 name1
 Calibration name for use in unittests.
 
 name2
 Calibration name for use in unittests.
 
 name3
 Calibration name for use in unittests.
 
 example_file1
 Path to an example file.
 
 cal1
 Calibration attribute for use in unittests.
 
 cal2
 Calibration attribute for use in unittests.
 
 cal3
 Calibration attribute for use in unittests.
 

Detailed Description

UnitTest for configuration and simple running of CAF

Definition at line 161 of file test_framework.py.

Member Function Documentation

◆ setUp()

def setUp (   self)
Create useful objects for each test and the teardown

Definition at line 166 of file test_framework.py.

◆ tearDown()

def tearDown (   self)
Removes files that were created during these tests

Definition at line 220 of file test_framework.py.

◆ test_add_calibration()

def test_add_calibration (   self)
Test that add_calibration function results in correct output

Definition at line 188 of file test_framework.py.

◆ test_add_dependency_on_itself()

def test_add_dependency_on_itself (   self)
Test that add_dependency function cannot add itself

Definition at line 197 of file test_framework.py.

◆ test_config_output_dir()

def test_config_output_dir (   self)
Test that config is correctly setting the default output path.

Definition at line 213 of file test_framework.py.

◆ test_make_output_dir()

def test_make_output_dir (   self)
Test that output_dir directory is created correctly

Definition at line 204 of file test_framework.py.


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