def setUp(self): super(ConsumerContentInstallScheduleStrategyTests, self).setUp() self.strategy = consumer_content.ConsumerContentScheduleStrategy( self.context, 'install')
def test_schedules_strategy(self): try: consumer_content.ConsumerContentScheduleStrategy( self.mock_context, self.action) except Exception, e: self.fail(str(e))
def setUp(self): super(ConsumerContentUpdateScheduleStrategyTests, self).setUp() self.strategy = consumer_content.ConsumerContentScheduleStrategy( self.context, 'update')