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 232 of file querying_tests.py.

Member Function Documentation

def querying_tests.iov_tests.test_get_empty_iov (   self)

Definition at line 257 of file querying_tests.py.

258  empty_iov = self.connection.iov()
259  self.assertTrue(isinstance(empty_iov, self.connection.models["iov"]))
260  self.assertTrue(empty_iov.empty)
261 
def querying_tests.iov_tests.test_get_iov (   self)

Definition at line 238 of file querying_tests.py.

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

Definition at line 248 of file querying_tests.py.

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