STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_check_config_load Namespace Reference

Functions

 _script ()
 test_shipped_configs_of_both_injectors_load (capsys)
 test_a_broken_config_fails_with_the_loaders_reason (tmp_path, capsys)
 test_no_arguments_is_a_usage_line (capsys)

Variables

 ROOT = Path(__file__).resolve().parents[1]

Detailed Description

check_config_load.py checks any config it is handed, of any injector type.

It read '/Users/carlton/Downloads/Layer 3 Optimized Config.yaml' and printed a pintle-only field, so
on any other machine it died with FileNotFoundError and on an impinging design it checked nothing.

Function Documentation

◆ _script()

◆ test_a_broken_config_fails_with_the_loaders_reason()

test_check_config_load.test_a_broken_config_fails_with_the_loaders_reason ( tmp_path,
capsys )

Definition at line 30 of file test_check_config_load.py.

References _script(), and main().

◆ test_no_arguments_is_a_usage_line()

test_check_config_load.test_no_arguments_is_a_usage_line ( capsys)

Definition at line 38 of file test_check_config_load.py.

References _script(), and main().

◆ test_shipped_configs_of_both_injectors_load()

test_check_config_load.test_shipped_configs_of_both_injectors_load ( capsys)

Definition at line 22 of file test_check_config_load.py.

References _script(), and main().

Variable Documentation

◆ ROOT

test_check_config_load.ROOT = Path(__file__).resolve().parents[1]

Definition at line 12 of file test_check_config_load.py.