ATLAS Offline Software
Loading...
Searching...
No Matches
test_events.py
Go to the documentation of this file.
1#! /usr/bin/env python
2
3# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4
5from DQUtils import fetch_iovs, process_iovs
6from DQUtils.tests import invariant
7
8@invariant("359918-DetStatusDEFECTS-pro22-04")
10 """
11 Test that processing works
12 """
13 iovs = fetch_iovs("DEFECTS", tag="DetStatusDEFECTS-pro22-04", runs=359918)
14 channels, iovsets = iovs.chans_iovsets
15 processed = [(since, until, states[:])
16 for since, until, states in process_iovs(*iovsets)]
17
18 return processed
19
20if __name__ == '__main__':