Exemple #1
0
 def step_two(self):
     detail = RecordDetail('two')
     LOG.info('Doing step two')
     self.numbers = [n * 2 for n in self.numbers]
     sleep(1)
     detail.stop(0)
Exemple #2
0
 def step_three(self):
     detail = RecordDetail('three')
     LOG.info('Doing step three')
     self.numbers = [(n - 2) / 2 for n in self.numbers]
     detail.stop(0)
Exemple #3
0
 def step_one(self):
     detail = RecordDetail('one')
     LOG.info('Doing step one')
     self.numbers = [n + 2 for n in self.numbers]
     detail.stop(0)