def setUp(self):
     super(ConsumerContentInstallScheduleStrategyTests, self).setUp()
     self.strategy = consumer_content.ConsumerContentScheduleStrategy(
         self.context, 'install')
Ejemplo n.º 2
0
 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')