CMS 3D CMS Logo

List of all members | Public Member Functions
querying_tests.iov_tests Class Reference
Inheritance diagram for querying_tests.iov_tests:
querying_tests.querying_tests

Public Member Functions

def test_get_empty_iov (self)
 
def test_get_iov (self)
 
def test_get_iovs_by_iov_query (self)
 
- Public Member Functions inherited from querying_tests.querying_tests
def setUp (self)
 
def tearDown (self)
 
def test_check_connection (self)
 

Additional Inherited Members

- Public Attributes inherited from querying_tests.querying_tests
 connection
 
 global_tag_name
 

Detailed Description

IOVs

Definition at line 233 of file querying_tests.py.

Member Function Documentation

◆ test_get_empty_iov()

def querying_tests.iov_tests.test_get_empty_iov (   self)

Definition at line 258 of file querying_tests.py.

258  def test_get_empty_iov(self):
259  empty_iov = self.connection.iov()
260  self.assertTrue(isinstance(empty_iov, self.connection.models["iov"]))
261  self.assertTrue(empty_iov.empty)
262 

References data_sources_tests.data_sources_tests.connection, payload_tests.payload_tests.connection, data_formats_tests.data_formats_tests.connection, querying_tests.querying_tests.connection, and querying.factory.connection.

◆ test_get_iov()

def querying_tests.iov_tests.test_get_iov (   self)

Definition at line 239 of file querying_tests.py.

239  def test_get_iov(self):
240  tag_name = "EBAlignment_measured_v01_express"
241  tag = self.connection.tag(name=tag_name)
242  iovs = tag.iovs()
243  self.assertTrue(isinstance(iovs, data_sources.json_list))
244  raw_list = iovs.data()
245  self.assertTrue(isinstance(raw_list, list))
246  first_iov = raw_list[0]
247  self.assertTrue(isinstance(first_iov, self.connection.models["iov"]))
248 

References data_sources_tests.data_sources_tests.connection, payload_tests.payload_tests.connection, data_formats_tests.data_formats_tests.connection, querying_tests.querying_tests.connection, querying.factory.connection, and makeGlobalPositionRcd_cfg.tag.

◆ test_get_iovs_by_iov_query()

def querying_tests.iov_tests.test_get_iovs_by_iov_query (   self)

Definition at line 249 of file querying_tests.py.

249  def test_get_iovs_by_iov_query(self):
250  tag_name = "EBAlignment_measured_v01_express"
251  iovs = self.connection.iov(tag_name=tag_name)
252  self.assertTrue(isinstance(iovs, data_sources.json_list))
253  raw_list = iovs.data()
254  self.assertTrue(isinstance(raw_list, list))
255  first_iov = raw_list[0]
256  self.assertTrue(isinstance(first_iov, self.connection.models["iov"]))
257 

References data_sources_tests.data_sources_tests.connection, payload_tests.payload_tests.connection, data_formats_tests.data_formats_tests.connection, querying_tests.querying_tests.connection, and querying.factory.connection.

makeGlobalPositionRcd_cfg.tag
tag
Definition: makeGlobalPositionRcd_cfg.py:6
data_sources.json_list
Definition: data_sources.py:175