14basf2.set_random_seed(
"")
21 """reimplementation of Module::initialize()."""
22 basf2.B2ERROR(
"In module " + self.name())
29 """reimplementation of Module::event()."""
31 basf2.B2ERROR(
"In module " + self.name())
34noerrors = basf2.Path()
35noerrors.add_module(
'EventInfoSetter')
38basf2.process(noerrors)
40errorsinevent = basf2.Path()
41errorsinevent.add_module(
'EventInfoSetter')
45basf2.process(errorsinevent)
48basf2.process(noerrors)
49basf2.process(noerrors)
50basf2.process(errorsinevent)
52basf2.process(noerrors)
57 basf2.process(noerrors)
59 assert os.wait()[1] != 0
64 basf2.process(noerrors)
66 assert os.wait()[1] != 0
68basf2.B2INFO(
'everything was OK.')