14 basf2.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())
34 noerrors = basf2.Path()
35 noerrors.add_module(
'EventInfoSetter')
38 basf2.process(noerrors)
40 errorsinevent = basf2.Path()
41 errorsinevent.add_module(
'EventInfoSetter')
45 basf2.process(errorsinevent)
48 basf2.process(noerrors)
49 basf2.process(noerrors)
50 basf2.process(errorsinevent)
52 basf2.process(noerrors)
57 basf2.process(noerrors)
59 assert os.wait()[1] != 0
64 basf2.process(noerrors)
66 assert os.wait()[1] != 0
68 basf2.B2INFO(
'everything was OK.')