10Check if the path returned by the relevant HLT functions is changed. The test fails if:
11- a new module is added to the path
12- a new parameter is added to a module
13- the default value of a parameter is modified
14If the test fails, it's enough to reproduce the logfile and commit it.
18import b2test_utils
as b2tu
19from softwaretrigger
import constants
23b2tu.configure_logging_for_tests()
26b2.B2INFO(
'basf2 path for beam_reco_monitor:')
27main_monitor = b2.Path()
28add_hlt_processing(main_monitor, run_type=constants.RunTypes.beam,
29 softwaretrigger_mode=constants.SoftwareTriggerModes.monitor)
30b2.print_path(path=main_monitor, defaults=
True)
33b2.B2INFO(
'basf2 path for beam_reco_filter:')
34main_filter = b2.Path()
35add_hlt_processing(main_filter, run_type=constants.RunTypes.beam,
36 softwaretrigger_mode=constants.SoftwareTriggerModes.filter)
37b2.print_path(path=main_filter, defaults=
True)
40b2.B2INFO(
'basf2 path for passthrough:')
42add_hlt_passthrough(main_pass)
43b2.print_path(path=main_pass)