def virtual_set_up(self):
     super(HourlySiteAggregatorUnitTest, self).constructor(SiteHourlyAggregator,
                                                   PROCESS_SITE_HOURLY,
                                                   'EXPECTED_HOURLY_SITE',
                                                   hourly_fixtures,
                                                   False,
                                                   True)
     hourly_fixtures.clean_session_entries()
     return hourly_fixtures.generated_session_entries()
 def virtual_set_up(self):
     super(SiteHourlyAggregatorUnitTest, self).constructor(baseclass=SiteHourlyAggregator,
                                                           process_name=PROCESS_SITE_HOURLY,
                                                           output_prefix='EXPECTED_SITE_HOURLY',
                                                           output_module=hourly_fixtures,
                                                           generate_output=False,
                                                           compare_results=True)
     hourly_fixtures.clean_session_entries()
     return hourly_fixtures.generated_session_entries()
Ejemplo n.º 3
0
 def virtual_set_up(self):
     super(SiteHourlyAggregatorUnitTest,
           self).constructor(baseclass=SiteHourlyAggregator,
                             process_name=PROCESS_SITE_HOURLY,
                             output_prefix='EXPECTED_SITE_HOURLY',
                             output_module=hourly_fixtures,
                             generate_output=False,
                             compare_results=True)
     hourly_fixtures.clean_session_entries()
     return hourly_fixtures.generated_session_entries()
 def setUp(self):
     hourly_fixtures.clean_session_entries()
     hourly_fixtures.generated_session_entries()
     workers.garbage_collector_worker.TIMER_INTERVAL = 10
     self.worker = GarbageCollectorWorker(PROCESS_GC)