Exemple #1
0
 def __init__(self, methodName='runTest'):
     SocketConnectedTest.__init__(self, methodName=methodName)
Exemple #2
0
 def clientTearDown(self):
     self.cli_file.close()
     self.assertTrue(self.cli_file.closed)
     self.cli_file = None
     SocketConnectedTest.clientTearDown(self)
Exemple #3
0
 def __init__ (self, methodName = 'runTest'):
     SocketConnectedTest.__init__(self, methodName = methodName)
Exemple #4
0
 def tearDown(self):
     self.serv_file.close()
     self.assertTrue(self.serv_file.closed)
     self.serv_file = None
     SocketConnectedTest.tearDown(self)
Exemple #5
0
 def clientSetUp(self):
     SocketConnectedTest.clientSetUp(self)
     self.cli_file = self.serv_conn.makefile('wb')
Exemple #6
0
 def setUp(self):
     SocketConnectedTest.setUp(self)
     self.serv_file = self.cli_conn.makefile('rb', self.bufsize)
 def clientTearDown (self):
     self.cli_file.close()
     self.assertTrue(self.cli_file.closed)
     self.cli_file = None
     SocketConnectedTest.clientTearDown(self)
 def clientSetUp (self):
     SocketConnectedTest.clientSetUp(self)
     self.cli_file = self.serv_conn.makefile('wb')
 def tearDown (self):
     self.serv_file.close()
     self.assertTrue(self.serv_file.closed)
     self.serv_file = None
     SocketConnectedTest.tearDown(self)
 def setUp (self):
     SocketConnectedTest.setUp(self)
     self.serv_file = self.cli_conn.makefile('rb', self.bufsize)