Skip to content

Commit 9b7a9bd

Browse files
committed
Use standalone k5test
This commit switches from using the k5test bundled with python-gssapi to using the standalone version of k5test.
1 parent dabb66d commit 9b7a9bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gssapi_console/drivers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class Krb5Console(GSSAPIConsoleDriver):
1717
PROVIDER_NAME = 'MIT Kerberos 5'
1818

1919
def __init__(self):
20-
__import__('gssapi.tests.k5test')
21-
self._k5test = sys.modules['gssapi.tests.k5test']
20+
__import__('k5test')
21+
self._k5test = sys.modules['k5test']
2222

2323
def create_realm(self, realm_args):
2424
return self._k5test.K5Realm(**realm_args)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
},
3636
install_requires=[
3737
'gssapi',
38+
'k5test',
3839
'six'
3940
]
4041
)

0 commit comments

Comments
 (0)