Belle II Software development
check_reconstruction_path.py
1
8
9'''
10Check if the path returned by add_reconstruction 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.
15'''
16
17import basf2 as b2
18import b2test_utils as b2tu
19import reconstruction as re
20
21
22b2tu.configure_logging_for_tests()
23
24main = b2.Path()
25re.add_reconstruction(main)
26b2.print_path(path=main, defaults=True)