mirror of https://github.com/progval/irctest.git
Merge pull request #1 from DanielOaks/fix-kill
Send QUIT before kill, because after kill we may not be able to send msgs
This commit is contained in:
commit
b7d6ac6a62
|
@ -44,8 +44,8 @@ class BaseClientTestCase(_IrcTestCase):
|
|||
self.controller = self.controllerClass()
|
||||
self._setUpServer()
|
||||
def tearDown(self):
|
||||
self.controller.kill()
|
||||
self.conn.sendall(b'QUIT :end of test.')
|
||||
self.controller.kill()
|
||||
self.conn_file.close()
|
||||
self.conn.close()
|
||||
self.server.close()
|
||||
|
|
Loading…
Reference in New Issue