From 758fe2574d5470616471d42106fc78ef38874ef7 Mon Sep 17 00:00:00 2001 From: Alex Pearce <alex@alexpearce.me> Date: Tue, 1 May 2018 10:00:08 +0200 Subject: [PATCH] Query DecReports rather than SelReports. The SelReports are not available in these tests, but we can get the same information from DecReports (we only need to know whether the line fired or not, and the existence of a SelReport is equivalent to a positive DecReport). --- Phys/Tesla/tests/options/DV_2015_SharedContainers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Phys/Tesla/tests/options/DV_2015_SharedContainers.py b/Phys/Tesla/tests/options/DV_2015_SharedContainers.py index 5b91ad05b..afe242aef 100644 --- a/Phys/Tesla/tests/options/DV_2015_SharedContainers.py +++ b/Phys/Tesla/tests/options/DV_2015_SharedContainers.py @@ -65,9 +65,9 @@ while True: # n=0 for line in lines: - rep = tes["Hlt2/SelReports"].selReport(line+"Decision") + rep = tes["Hlt2/DecReports"].decReport(line+"Decision") if rep: - n+=1 + n+=rep.decision() if n==0: continue -- GitLab