Ejemplo n.º 1
0
 def step_two(self):
     with record_detail("two"):
         LOG.info("Doing step two")
         self.numbers = [n * 2 for n in self.numbers]
         sleep(1)
Ejemplo n.º 2
0
 def step_one(self):
     with record_detail("one") as d:
         LOG.info("Doing step one with %s", type(d))
         self.numbers = [n + 2 for n in self.numbers]
Ejemplo n.º 3
0
 def step_one(self):
     with record_detail('one') as d:
         LOG.info('Doing step one with %s', type(d))
         self.numbers = [n + 2 for n in self.numbers]
Ejemplo n.º 4
0
 def step_two(self):
     with record_detail('two'):
         LOG.info('Doing step two')
         self.numbers = [n * 2 for n in self.numbers]
         sleep(1)
Ejemplo n.º 5
0
 def step_one(self):
     with record_detail('one'):
         LOG.info('Doing step one')
         self.numbers = [n + 2 for n in self.numbers]