예제 #1
0
 def tearDown(self):
     """ override TestAsServer """
     TestAsServer.tearDown(self)
     try:
         os.remove(self.superpeerfilename)
     except:
         print_exc()
    def tearDown(self):
        """ override TestAsServer """
        print >> sys.stderr,"test: *** TEARDOWN"
        TestAsServer.tearDown(self)

        for i in range(self.NLISTENERS):
            self.myss[i].close()
 def tearDown(self):
     """ override TestAsServer """
     TestAsServer.tearDown(self)
     try:
         os.remove('randpool.dat')
     except:
         pass
 def tearDown(self):
     """ override TestAsServer """
     TestAsServer.tearDown(self)
     try:
         os.remove(self.superpeerfilename)
     except:
         print_exc()
 def tearDown(self):
     """ override TestAsServer """
     TestAsServer.tearDown(self)
     try:
         os.remove('randpool.dat')
     except:
         pass
    def tearDown(self):
        """ override TestAsServer """
        print >> sys.stderr, "test: *** TEARDOWN"
        TestAsServer.tearDown(self)

        for i in range(self.NLISTENERS):
            self.myss[i].close()
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr, "test: *** TEARDOWN"
     TestAsServer.tearDown(self)
     self.mytracker.shutdown()
     self.tearDownMyListenSockets()
예제 #8
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     self.session.close_dbhandler(self.torrent_db)
예제 #9
0
 def tearDown(self):
     """ override TestAsServer """
     print >>sys.stderr,time.asctime(),'-', "test: *** tear down friendship"
     TestAsServer.tearDown(self)
     self.assert_((not self.usercallbackexpected) or (self.usercallbackreceived))
     time.sleep(10)
예제 #10
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     self.assert_(self.vod_started)
예제 #11
0
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr,time.asctime(),'-', "test: *** TEARDOWN"
     TestAsServer.tearDown(self)
예제 #12
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     self.session.close_dbhandler(self.richMetadata_db)
예제 #13
0
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr,"test: *** TEARDOWN"
     TestAsServer.tearDown(self)
     self.mytracker.shutdown()
     self.myss.close()
예제 #14
0
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr,time.asctime(),'-', "test: *** TEARDOWN"
     TestAsServer.tearDown(self)
     self.mytracker.shutdown()
     self.tearDownMyListenSockets()
예제 #15
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     self.assert_(self.vod_started)
예제 #16
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     try:
         os.remove('piece1.bin')
     except:
         pass
예제 #17
0
 def tearDown(self):
     TestAsServer.tearDown(self)
     self.session.close_dbhandler(self.torrent_db)
예제 #18
0
    def tearDown(self):
        print >> sys.stderr, time.asctime(), "-", "Test: Sleep before tear down"
        time.sleep(10)

        TestAsServer.tearDown(self)
예제 #19
0
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr,"test: *** TEARDOWN"
     TestAsServer.tearDown(self)
예제 #20
0
 def tearDown(self):
     """ override TestAsServer """
     print >> sys.stderr,"test: *** TEARDOWN"
     TestAsServer.tearDown(self)
     self.tearDownMyListenSocket()
예제 #21
0
 def tearDown(self):
     """ override TestAsServer """
     print >>sys.stderr,"test: *** tear down friendship"
     TestAsServer.tearDown(self)
     self.assert_((not self.usercallbackexpected) or (self.usercallbackreceived))
     time.sleep(10)