Exemplo 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)
Exemplo 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]
Exemplo 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]
Exemplo 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)
Exemplo 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]