Exemplo n.º 1
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseBatch")
     self.savePath = copy.copy(sys.path)
     self.saveMsg = fsi.conMsg
     fsi.conMsg = fsi.TestMsgWriter()
     FG.fsa = VirtualFileSystem()
     FG.fsa._addDirectories("tests/testout")
     self.trun = fsi.TestRunner()
     fsi.netIn = fsi.netOut = fsi.net = ioMock()
Exemplo n.º 2
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseOnline")
     self.savePath = copy.copy(sys.path)
     self.fits = fsi.ServerBase()
     self.options = Options(["fubar"], SiteOptions.FitServer.parmDict)
     self.saveNet = fsi.net
     fsi.netIn = fsi.netOut = fsi.net = ioMock()
     self.saveMsg = fsi.conMsg
     fsi.conMsg = fsi.TestMsgWriter()
Exemplo n.º 3
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()