summaryrefslogtreecommitdiff
path: root/tests/test_ssh_gss.py
diff options
context:
space:
mode:
authorJacob Beck <jbeck@colorado.edu>2014-10-14 21:37:45 -0600
committerJacob Beck <jbeck@colorado.edu>2014-10-14 21:37:45 -0600
commit5fbd4e3b6fcdc9edc04f84134d0ae76f349854a7 (patch)
tree88e9d9b51477ae21d3c906017b6c377e102e325b /tests/test_ssh_gss.py
parentd9caab12578c242294aea95c7ad3dada361c4455 (diff)
downloadparamiko-5fbd4e3b6fcdc9edc04f84134d0ae76f349854a7.tar.gz
Converted all staticmethod/classmethod instances to decorators.
Diffstat (limited to 'tests/test_ssh_gss.py')
-rw-r--r--tests/test_ssh_gss.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_ssh_gss.py b/tests/test_ssh_gss.py
index 595081b8..99ccdc9c 100644
--- a/tests/test_ssh_gss.py
+++ b/tests/test_ssh_gss.py
@@ -57,14 +57,12 @@ class NullServer (paramiko.ServerInterface):
class GSSAuthTest(unittest.TestCase):
-
+ @staticmethod
def init(username, hostname):
global krb5_principal, targ_name
krb5_principal = username
targ_name = hostname
- init = staticmethod(init)
-
def setUp(self):
self.username = krb5_principal
self.hostname = socket.getfqdn(targ_name)