summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-11-09 17:25:45 -0800
committerJeff Forcier <jeff@bitprophet.org>2017-11-09 17:25:45 -0800
commit90e00d489188d7637231dd4e7c25b3b0623db01b (patch)
treef4ee69f565d5cc9f34d3791b7a2be8f55fa8fdaf /tests/test_client.py
parentcdd439335521e943cb0ddf0092023bfeee38af33 (diff)
Derp, some stuff runs this method w/o run_kwargs
Diffstat (limited to 'tests/test_client.py')
-rw-r--r--tests/test_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_client.py b/tests/test_client.py
index 21700876..53c95be7 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -159,7 +159,7 @@ class ClientTest(unittest.TestCase):
# If the kill event was set at this point, it indicates an early
# shutdown, so bail out now and don't even try setting up a Transport
# (which will just verbosely die.)
- if kill_event.is_set():
+ if kill_event and kill_event.is_set():
self.socks.close()
return
self.ts = paramiko.Transport(self.socks)