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

def querying_tests.iov_tests.test_get_empty_iov (   self)

Definition at line 258 of file querying_tests.py.

259  empty_iov = self.connection.iov()
260  self.assertTrue(isinstance(empty_iov, self.connection.models["iov"]))
261  self.assertTrue(empty_iov.empty)
262 
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 
def querying_tests.iov_tests.test_get_iovs_by_iov_query (   self)

Definition at line 249 of file querying_tests.py.

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 
def test_get_iovs_by_iov_query(self)