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 = " " else: text = "%.1f" % (split,) # express to tenths of a second cells.last().more = self.td(text)
def doTable(self, table): # extend the label row ActionFixture.doTable(self, table) table.parts.parts.last().more = self.td("time") table.parts.parts.last().more = self.td("split")
def setUp(self): print '%s %s' % (self.id(), self.shortDescription()) FitGlobal.Environment = "Batch" ActionFixture.actor = None ActionFixture.cells = None self.af = ActionFixture()