summaryrefslogtreecommitdiffhomepage
path: root/tests/test_ssh_gss.py
diff options
context:
space:
mode:
authorOlle Lundberg <geek@nerd.sh>2014-10-16 17:20:20 +0200
committerJeff Forcier <jeff@bitprophet.org>2014-12-17 14:57:32 -0800
commit05030b2d5e63349c6abacd1e3a65c70faadbb35f (patch)
treecd4af72f3736e11805f7a0450b39455e6672d0f0 /tests/test_ssh_gss.py
parent14b517d3c131fd508e287fee1e09c632b6faa615 (diff)
Use modern api to check if event is set.
Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
Diffstat (limited to 'tests/test_ssh_gss.py')
-rw-r--r--tests/test_ssh_gss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssh_gss.py b/tests/test_ssh_gss.py
index 99ccdc9c..e20d348f 100644
--- a/tests/test_ssh_gss.py
+++ b/tests/test_ssh_gss.py
@@ -102,7 +102,7 @@ class GSSAuthTest(unittest.TestCase):
gss_auth=True)
self.event.wait(1.0)
- self.assert_(self.event.isSet())
+ self.assert_(self.event.is_set())
self.assert_(self.ts.is_active())
self.assertEquals(self.username, self.ts.get_username())
self.assertEquals(True, self.ts.is_authenticated())