예제 #1
0
    def test02(self):
        """dao.Oracle.Dataset.List: Basic"""
        r = self.dao.execute(self.conn, dataset=self.data[0]['dataset'])
	result = []
        for item in r:
	    result.append(item)	
        self.assertEqual(strip_volatile_fields(result), self.data)
예제 #2
0
    def test03(self):
        """dao.Oracle.File.List: Basic"""
        result = []
	r = self.dao.execute(self.conn, logical_file_name=self.data[0]["logical_file_name"])
        for item in r:
	    result.append(item)	
	self.assertEqual(strip_volatile_fields(result), self.data)
예제 #3
0
    def test02(self):
        """dao.Oracle.Block.List: Basic"""
        r = self.dao.execute(self.conn, block_name=self.data[0]['block_name'])
        result = []
	for item in r:
	    result.append(item)
	self.assertEqual(strip_volatile_fields(result), self.data)
예제 #4
0
파일: List_t.py 프로젝트: giffels/DBS
 def test01(self):
     """dao.Oracle.FileParent.List: Basic"""
     result = self.dao.execute(
         self.conn,
         logical_file_name=self.data[0]['this_logical_file_name'])
     self.assertTrue(type(result) == list)
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #5
0
 def test02(self):
     """dao.Oracle.Dataset.List: Basic"""
     r = self.dao.execute(self.conn, dataset=self.data[0]['dataset'])
     result = []
     for item in r:
         result.append(item)
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #6
0
    def test02(self):
        """dao.Oracle.FileLumi.List: Basic"""
        result = self.dao.execute(self.conn, block_name=self.block_data[0]['block_name'])
        self.assertTrue(type(result) == GeneratorType)
	l =[]
	for i in result:
	    l.append(i)
        self.assertEqual(strip_volatile_fields(l), self.lumi_data)
예제 #7
0
    def test01(self):
        """dao.Oracle.FileParent.List: Basic"""
        result = self.dao.execute(self.conn, logical_file_name=self.data[0]['this_logical_file_name'])
        self.assertTrue(type(result) == GeneratorType)
	l = []
	for item in result:
	    l.append(item)
        self.assertEqual(strip_volatile_fields(l), self.data)
예제 #8
0
    def test01(self):
        """dao.Oracle.Block.List: Basic"""
        block_name = self.data[0]['block_name']
        dataset_name = block_name.split("#")[0]
        r = self.dao.execute(self.conn, dataset=dataset_name)
	result = []
	for item in r:
	    result.append(item)
        self.assertEqual(strip_volatile_fields(result), self.data)
예제 #9
0
 def test02(self):
     """dao.Oracle.FileLumi.List: Basic"""
     result = self.dao.execute(self.conn,
                               block_name=self.block_data[0]['block_name'])
     self.assertTrue(type(result) == GeneratorType)
     l = []
     for i in result:
         l.append(i)
     self.assertEqual(strip_volatile_fields(l), self.lumi_data)
예제 #10
0
 def test06(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn, app = self.data[0]['app_name'])
     self.assertTrue(self.data[0] in strip_volatile_fields(result))
예제 #11
0
 def test05(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn, pset_hash = self.data[0]['pset_hash'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #12
0
 def test02(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn, release_version = self.data[0]['release_version'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #13
0
 def test02(self):
     """dao.Oracle.FileLumi.List: Basic"""
     result = self.dao.execute(self.conn,
                               block_name=self.block_data[0]['block_name'])
     self.assertTrue(type(result) == list)
     self.assertEqual(strip_volatile_fields(result), self.lumi_data)
예제 #14
0
 def test02(self):
     """dao.Oracle.PrimaryDataset.List: Basic"""
     result = self.dao.execute(self.conn, primary_ds_name=self.data[0]['primary_ds_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #15
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test05(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn,
                               pset_hash=self.data[0]['pset_hash'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #16
0
 def test02(self):
     """dao.Oracle.AcquisitionEra.List: Basic"""
     result = self.dao.execute(
         self.conn, acquisitionEra=self.data[0]['acquisition_era_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #17
0
파일: List_t.py 프로젝트: giffels/DBS
 def test02(self):
     """dao.Oracle.Block.List: Basic"""
     result = self.dao.execute(self.conn,
                               block_name=self.data[0]['block_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #18
0
 def test01(self):
     """dao.Oracle.File.List: Basic"""
     result = self.dao.execute(self.conn, dataset=self.data[0]["dataset"])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #19
0
파일: List_t.py 프로젝트: giffels/DBS
 def test01(self):
     """dao.Oracle.Block.List: Basic"""
     block_name = self.data[0]['block_name']
     dataset_name = block_name.split("#")[0]
     result = self.dao.execute(self.conn, dataset=dataset_name)
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #20
0
 def test02(self):
     """dao.Oracle.AcquisitionEra.List: Basic"""
     result = self.dao.execute(self.conn, acquisitionEra=self.data[0]['acquisition_era_name'])
     self.assertEqual(strip_volatile_fields(result), strip_volatile_fields(self.data))
예제 #21
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test06(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn, app=self.data[0]['app_name'])
     self.assertTrue(self.data[0] in strip_volatile_fields(result))
예제 #22
0
 def test07(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(self.conn, output_label = self.data[0]['output_module_label'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #23
0
파일: List_t.py 프로젝트: giffels/DBS
 def test01(self):
     """dao.Oracle.File.List: Basic"""
     result = self.dao.execute(self.conn, dataset=self.data[0]["dataset"])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #24
0
 def test02(self):
     """dao.Oracle.DataTier.List: Basic"""
     result = self.dao.execute(self.conn, data_tier_name=self.data[0]['data_tier_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #25
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test02(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(
         self.conn, release_version=self.data[0]['release_version'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #26
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test02(self):
     """dao.Oracle.PrimaryDataset.List: Basic"""
     result = self.dao.execute(
         self.conn, primary_ds_name=self.data[0]['primary_ds_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #27
0
 def test02(self):
     """dao.Oracle.FileLumi.List: Basic"""
     result = self.dao.execute(self.conn, block_name=self.block_data[0]['block_name'])
     self.assertTrue(type(result) == list)
     self.assertEqual(strip_volatile_fields(result), self.lumi_data)
예제 #28
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test02(self):
     """dao.Oracle.DataTier.List: Basic"""
     result = self.dao.execute(
         self.conn, data_tier_name=self.data[0]['data_tier_name'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #29
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test02(self):
     """dao.Oracle.ProcessingEra.List: Basic"""
     result = self.dao.execute(
         self.conn, processingV=self.data[0]['processing_version'])
     self.assertEqual(strip_volatile_fields(result),
                      strip_volatile_fields(self.data))
예제 #30
0
 def test02(self):
     """dao.Oracle.File.List: Basic"""
     result = self.dao.execute(self.conn, block_name=self.data[0]["block_name"])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #31
0
파일: List_t.py 프로젝트: bbockelm/DBS-1
 def test07(self):
     """dao.Oracle.OutputModuleConfig.List: Basic"""
     result = self.dao.execute(
         self.conn, output_label=self.data[0]['output_module_label'])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #32
0
 def test01(self):
     """dao.Oracle.DatasetParent.List: Basic"""
     result = self.dao.execute(self.conn, dataset=self.data[0]['this_dataset'])
     self.assertTrue(type(result) == list)
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #33
0
 def test02(self):
     """dao.Oracle.ProcessingEra.List: Basic"""
     result = self.dao.execute(self.conn, processingV=self.data[0]['processing_version'])
     self.assertEqual(strip_volatile_fields(result), strip_volatile_fields(self.data))
예제 #34
0
파일: List_t.py 프로젝트: giffels/DBS
 def test03(self):
     """dao.Oracle.File.List: Basic"""
     result = self.dao.execute(
         self.conn, logical_file_name=self.data[0]["logical_file_name"])
     self.assertEqual(strip_volatile_fields(result), self.data)
예제 #35
0
 def test01(self):
     """dao.Oracle.FileParent.List: Basic"""
     result = self.dao.execute(self.conn, logical_file_name=self.data[0]['this_logical_file_name'])
     self.assertTrue(type(result) == list)
     self.assertEqual(strip_volatile_fields(result), self.data)