From ffcfc92352f6fe998c57e6240d73fc1c5a6ccffb Mon Sep 17 00:00:00 2001 From: Italo Rossi Date: Wed, 15 Jun 2016 09:53:05 -0300 Subject: [PATCH] fixing lost connection test case --- tests/fakeeslserver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fakeeslserver.py b/tests/fakeeslserver.py index a35fc21..d23a59b 100644 --- a/tests/fakeeslserver.py +++ b/tests/fakeeslserver.py @@ -104,10 +104,11 @@ def disconnect(self): self._client_socket.close() def stop(self): + self._client_socket.close() + self.server.close() if self._running: self._running = False self._read_thread.join(5) - self.server.close() def main():