|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| None | _evaluate_debug () |
| list[int] | _console_levels () |
| test_debug_log_goes_where_it_is_told (tmp_path, monkeypatch) | |
| test_unset_it_is_output_logs_under_the_working_directory (tmp_path, monkeypatch) | |
| test_a_level_it_does_not_know_keeps_the_console_at_info (tmp_path, monkeypatch) | |
Variables | |
| ROOT = Path(__file__).resolve().parents[1] | |
| float | PSI = 6894.757293168361 |
Where an evaluate's debug log goes. The Evaluate route runs the engine with ``debug=True``, which writes ``output/logs/evaluate.log`` under the working directory -- the repo, for a stack run from a working tree -- and echoes every block to the console. ``ENGINE_DESIGN_LOG_DIR`` moves the file and ``ENGINE_DESIGN_CONSOLE_LOG_LEVEL`` quiets the console; unset, both are exactly as before.
|
protected |
Definition at line 28 of file test_runner_log_dir.py.
Referenced by test_a_level_it_does_not_know_keeps_the_console_at_info(), test_debug_log_goes_where_it_is_told(), and test_unset_it_is_output_logs_under_the_working_directory().
|
protected |
Definition at line 19 of file test_runner_log_dir.py.
Referenced by test_a_level_it_does_not_know_keeps_the_console_at_info(), test_debug_log_goes_where_it_is_told(), and test_unset_it_is_output_logs_under_the_working_directory().
| test_runner_log_dir.test_a_level_it_does_not_know_keeps_the_console_at_info | ( | tmp_path, | |
| monkeypatch ) |
Definition at line 55 of file test_runner_log_dir.py.
References _console_levels(), and _evaluate_debug().
| test_runner_log_dir.test_debug_log_goes_where_it_is_told | ( | tmp_path, | |
| monkeypatch ) |
Definition at line 36 of file test_runner_log_dir.py.
References _console_levels(), and _evaluate_debug().
| test_runner_log_dir.test_unset_it_is_output_logs_under_the_working_directory | ( | tmp_path, | |
| monkeypatch ) |
Definition at line 46 of file test_runner_log_dir.py.
References _console_levels(), and _evaluate_debug().
| float test_runner_log_dir.PSI = 6894.757293168361 |
Definition at line 16 of file test_runner_log_dir.py.
| test_runner_log_dir.ROOT = Path(__file__).resolve().parents[1] |
Definition at line 15 of file test_runner_log_dir.py.