예제 #1
0
 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()
예제 #2
0
 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
예제 #3
0
 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