10Test if the creation of the geometry payloads works fine.
13import b2test_utils
as b2tu
14b2tu.skip_test_if_light()
20with b2tu.clean_working_directory():
22 main1.add_module(
'EventInfoSetter')
23 main1.add_module(
'Gearbox')
24 main1.add_module(
'Geometry',
26 payloadIov=[0, 1, 2, 3]
28 assert(b2tu.safe_process(main1) == 0)
31with b2tu.clean_working_directory():
33 main2.add_module(
'EventInfoSetter')
34 main2.add_module(
'Gearbox')
35 main2.add_module(
'Geometry',
37 components=[
'ARICH',
'ECL',
'PXD'],
38 payloadIov=[0, 1, 2, 3]
40 assert(b2tu.safe_process(main2) == 0)
43with b2tu.clean_working_directory():
45 main3.add_module(
'EventInfoSetter')
46 main3.add_module(
'Gearbox')
47 main3.add_module(
'Geometry',
49 excludedComponents=[
'ARICH',
'ECL',
'PXD'],
50 payloadIov=[0, 1, 2, 3]
52 assert(b2tu.safe_process(main3) == 0)