def doCells(self, cells):
     start = self.time()
     ActionFixture.doCells(self, cells)
     split = self.time() - start
     cells.last().more = self.td(time.strftime("%H:%M:%S", time.localtime(start)))
     if split < 1.0:
         text = "&nbsp;"
     else:
         text = "%.1f" % (split,) # express to tenths of a second
     cells.last().more = self.td(text)
Esempio n. 2
0
 def doCells(self, cells):
     start = self.time()
     ActionFixture.doCells(self, cells)
     split = self.time() - start
     cells.last().more = self.td(time.strftime("%H:%M:%S", time.localtime(start)))
     if split < 1.0:
         text = "&nbsp;"
     else:
         text = "%.1f" % (split,) # express to tenths of a second
     cells.last().more = self.td(text)