Ejemplo n.º 1
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     #use persistent data, since inserts are not foreseen
     self.data_provider = create_dbs_data_provider(data_type='persistent')
     self.data = set(
         (data['physics_group_name']
          for data in self.data_provider.get_physics_group_data()))
Ejemplo n.º 2
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     data_location = os.path.join(
         os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(
         data_type='transient', data_location=data_location)
     self.data = self.data_provider.get_file_data()
Ejemplo n.º 3
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     data_location = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(data_type='transient', data_location=data_location)
     self.lumi_data = self.data_provider.get_file_lumi_data()
     #needs to be regenerated, since it was not used in Insert_t
     self.block_data = self.data_provider.get_block_data(regenerate=True) 
Ejemplo n.º 4
0
 def __init__(self, methodName='runTest'):
     super(Insert_t, self).__init__(methodName)
     data_location = os.path.join(
         os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(
         data_type='transient', data_location=data_location)
     self.data = self.data_provider.get_output_module_config_data(
         regenerate=True)[0]
Ejemplo n.º 5
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     data_location = os.path.join(
         os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(
         data_type='transient', data_location=data_location)
     self.lumi_data = self.data_provider.get_file_lumi_data()
     #needs to be regenerated, since it was not used in Insert_t
     self.block_data = self.data_provider.get_block_data(regenerate=True)
Ejemplo n.º 6
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     data_location = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(data_type='transient', data_location=data_location)
     self.data = self.data_provider.get_dataset_parentage_data()
Ejemplo n.º 7
0
 def __init__(self, methodName="runTest"):
     super(Insert_t, self).__init__(methodName)
     data_location = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_data.pkl")
     self.data_provider = create_dbs_data_provider(data_type="transient", data_location=data_location)
     self.data = self.data_provider.get_primary_dataset_data(regenerate=True)[0]
Ejemplo n.º 8
0
 def __init__(self, methodName='runTest'):
     super(List_t, self).__init__(methodName)
     #use persistent data, since inserts are not foreseen
     self.data_provider = create_dbs_data_provider(data_type='persistent')
     self.data = set((data['data_type'] for data in self.data_provider.get_primary_ds_type_data()))
Ejemplo n.º 9
0
 def __init__(self, methodName='runTest'):
     super(Insert_t, self).__init__(methodName)
     data_location = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_data.pkl')
     self.data_provider = create_dbs_data_provider(data_type='transient', data_location=data_location)
     self.lumi_data = self.data_provider.get_file_lumi_data(regenerate=True)[0]