Skip to content
Snippets Groups Projects
Commit 7a083409 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

fixed a couple of tests

parent fd01e989
No related branches found
No related tags found
2 merge requests!3702merge counter decoder into Louis' original branch,!3088New ODIN implementation
......@@ -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})
......
......@@ -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)()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment