def setUp(self): print '%s %s' % (self.id(), self.shortDescription()) setupFitGlobalForTests("FitNesseOnline") if isinstance(fsi.conMsg, types.StringTypes): em("conMsg corrupt. %s" % fsi.conMsg) self.savePythonPath = copy.copy(sys.path) self.saveNet = fsi.net fsi.netIn = fsi.netOut = fsi.net = ioMock() self.saveMsg = fsi.conMsg fsi.conMsg = fsi.TestMsgWriter() self.fits = fsi.FitServer()
def _printCells(self, cells): em("\n cells for %s" % self.id()) while cells is not None: em("-- tag: %s body: %s" % (cells.tag, cells.body)) cells = cells.more