diff --git a/DAQ/RawEventCompat/tests/qmtest/raweventcompat.qms/gaudiread.qmt b/DAQ/RawEventCompat/tests/qmtest/raweventcompat.qms/gaudiread.qmt index 5f084f86984415a19e30752b900a650ef7e2dd47..5c5784823abb20edf7fd32350750895f98db3d8c 100644 --- a/DAQ/RawEventCompat/tests/qmtest/raweventcompat.qms/gaudiread.qmt +++ b/DAQ/RawEventCompat/tests/qmtest/raweventcompat.qms/gaudiread.qmt @@ -46,7 +46,7 @@ StoreExplorerAlg INFO | | +--> /RawEvent [Address: CLID=0x3ea Type=0x2] LHC StoreExplorerAlg INFO | +--> /Trigger [Address: CLID=0x1 Type=0x2] DataObject StoreExplorerAlg INFO | | +--> /RawEvent [Address: CLID=0x3ea Type=0x2] LHCb::RawEvent StoreExplorerAlg INFO +--> /DAQ [No Address] DataObject -StoreExplorerAlg INFO +--> /ODIN [No Address] LHCb::ODIN""", stdout, result, causes, signature_offset =0, id="4100") +StoreExplorerAlg INFO +--> /ODIN [No Address] LHCb::ODINImplementation::v7::OD""", id="4100") countErrorLines({"FATAL":0, "ERROR":0, "WARNING" :0}) diff --git a/Kernel/LHCbAlgs/tests/scripts/test_ODIN_codec.py b/Kernel/LHCbAlgs/tests/scripts/test_ODIN_codec.py index dac8f541f3ca2e34662d4a31fc5956e3ff1cdd68..bac93826f97365b0f490f4db2bd6443fcff20ffc 100644 --- a/Kernel/LHCbAlgs/tests/scripts/test_ODIN_codec.py +++ b/Kernel/LHCbAlgs/tests/scripts/test_ODIN_codec.py @@ -109,7 +109,8 @@ new_odin = app.evtSvc()[dstOdinLoc] error = False print("") print(": ===================================================") -print(": Decoded ODIN version %d" % new_odin.version()) +# `DataObject::version` returns `unsigned char` so we have to convert to int +print(": Decoded ODIN version %d" % ord(new_odin.version())) print(": === Comparing original and decoded ODIN objects ===") for name, _ in fields: o = getattr(odin, name)()