예제 #1
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch", ["+e"])
     self.options = Options(["FileRunner", "+v", "+e", "foo", "bar"],
                            BatchBase.parmDict)
     self.fixture = Fixture()
     self.fixture.fixtureLoader = MockFixtureLoader()
예제 #2
0
    def tearDown(self):
#        fsi.conMsg.logToStderr(self.id())
        fsi.conMsg = self.saveMsg
        FG.fsa = FileSystemAdapter()
        fsi.netIn = fsi.netOut = fsi.net = fsi.FitNesseNetworkInterface()
        sys.path[:] = self.savePath
        setupFitGlobalForTests("FitNesseBatch")
예제 #3
0
 def tearDown(self):
     setupFitGlobalForTests("Batch")
     if MockCamelFixture._typeDict.get(".useToMapLabel"):
         del MockCamelFixture._typeDict[".useToMapLabel"]
     if MockCamelFixtureIndirect._typeDict.get(".useToMapLabel"):
         del MockCamelFixtureIndirect._typeDict[".useToMapLabel"]
     if MockCamelTargetClass._typeDict.get(".useToMapLabel"):
         del MockCamelTargetClass._typeDict[".useToMapLabel"]
예제 #4
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()
예제 #5
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()
예제 #6
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()
예제 #7
0
 def tearDown(self):
     sys.path[:] = self.savePythonPath
     fsi.conMsg.logToStdout(self.id())
     fsi.conMsg = self.saveMsg
     fsi.netIn = fsi.netOut = fsi.net = self.saveNet
     setupFitGlobalForTests("FitNesseOnline")
예제 #8
0
 def tearDown(self):
     fsi.conMsg.logToStdout(self.id())
     fsi.conMsg = self.saveMsg
     setupFitGlobalForTests("FitNesseBatch")
예제 #9
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseBatch")
     self.saveMsg = fsi.conMsg
     fsi.conMsg = fsi.TestMsgWriter()
예제 #10
0
 def tearDown(self):
     setupFitGlobalForTests("Batch")
예제 #11
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseOnline")
     SetupExitMock1._typeDict = {}
예제 #12
0
 def tearDown(self):
     setupFitGlobalForTests("Batch")
예제 #13
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch")
     CellHandler._testInit()
예제 #14
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch")
     self.options = Options(["FileRunner", "+v", "foo", "bar"],
                            BatchBase.parmDict)
예제 #15
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch")
     CellHandler._testInit()
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseBatch")
     self.saveMsg = fsi.conMsg
     fsi.conMsg = fsi.TestMsgWriter()
 def tearDown(self):
     sys.path[:] = self.savePath
     fsi.conMsg.logToStdout(self.id())
     fsi.conMsg = self.saveMsg
     fsi.netIn = fsi.netOut = fsi.net = self.saveNet
     setupFitGlobalForTests("FitNesseOnline")
예제 #18
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch")
     self.obj = Variations.VariationsBase()
예제 #19
0
 def tearDown(self):
     setupFitGlobalForTests("Batch")
     CellHandler._testInit()
예제 #20
0
 def setUp(self):
     setupFitGlobalForTests("Batch")
예제 #21
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("FitNesseOnline")
예제 #22
0
 def tearDown(self):
     setupFitGlobalForTests("Batch")
     CellHandler._testInit()
예제 #23
0
 def setUp(self):
     print '%s %s' % (self.id(), self.shortDescription())
     setupFitGlobalForTests("Batch")
     self.obj = Variations.VariationsBase()