ATLAS Offline Software
Loading...
Searching...
No Matches
DataQuality
DQUtils
tests
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
5
from
DQUtils
import
fetch_iovs, process_iovs
6
from
DQUtils.tests
import
invariant
7
8
@invariant("359918-DetStatusDEFECTS-pro22-04")
9
def
test_processing
():
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
20
if
__name__ ==
'__main__'
:
21
test_processing
()
test_events.test_processing
test_processing()
Definition
test_events.py:9
Generated on
for ATLAS Offline Software by
1.14.0