示例#1
0
 def setUp(self):
     TestWithAttributeData.setUp(self)
     self.i_results = IndicatorResults()
     self.i_results.indicator_documentation_mapping = {}
     self.source_data = SourceData(
         cache_directory=self.temp_cache_path,
         run_id=-1,
         name='test',
         run_description='(opus_core)',
         dataset_pool_configuration=DatasetPoolConfiguration(
             package_order=['opus_core'], ))
示例#2
0
 def setUp(self):
     TestWithAttributeData.setUp(self)
     self.source_data = SourceData(
         cache_directory = self.temp_cache_path,
         years = [1980],
         run_id = -1,
         name = 'test',
         dataset_pool_configuration = DatasetPoolConfiguration(
             package_order=['opus_core'],
         )
     )
示例#3
0
 def setUp(self):
     TestWithAttributeData.setUp(self)
     self.i_results = IndicatorResults()
     self.i_results.indicator_documentation_mapping = {}
     self.source_data = SourceData(
         cache_directory = self.temp_cache_path,
         run_id = -1,
         name = 'test',
         run_description = '(opus_core)',
         dataset_pool_configuration = DatasetPoolConfiguration(
             package_order=['opus_core'],
         ))
    def setUp(self):
        TestWithAttributeData.setUp(self)

        self.cross_scenario_source_data = SourceData(
            cache_directory=self.temp_cache_path,
            run_id=-1,
            comparison_cache_directory=self.temp_cache_path2,
            years=[1980],
            name='test_cross_scenario_source_data',
            dataset_pool_configuration=DatasetPoolConfiguration(
                package_order=['opus_core'], ))
        self.source_data = SourceData(
            run_id=-1,
            cache_directory=self.temp_cache_path,
            years=[1980],
            name='test_source_data',
            dataset_pool_configuration=DatasetPoolConfiguration(
                package_order=['opus_core'], ))
示例#5
0
 def setUp(self):
     TestWithAttributeData.setUp(self)
     
     self.cross_scenario_source_data = SourceData(
         cache_directory = self.temp_cache_path,
         run_id = -1,
         comparison_cache_directory = self.temp_cache_path2,
         years = [1980],
         name = 'test_cross_scenario_source_data',
         dataset_pool_configuration = DatasetPoolConfiguration(
             package_order=['opus_core'],
         )
     )
     self.source_data = SourceData(
         run_id = -1,
         cache_directory = self.temp_cache_path,
         years = [1980],
         name= 'test_source_data',
         dataset_pool_configuration = DatasetPoolConfiguration(
             package_order=['opus_core'],
         )
     )