We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f479c32 commit 346a51dCopy full SHA for 346a51d
gssapi/tests/_utils.py
@@ -122,15 +122,8 @@ def _find_plugin_dirs_src(search_path):
122
return None
123
124
125
-_KRB_PREFIX = None
126
-
127
128
def _requires_krb_plugin(plugin_type, plugin_name):
129
- global _KRB_PREFIX
130
- if _KRB_PREFIX is None:
131
- _KRB_PREFIX = get_output("krb5-config --prefix")
132
133
- plugin_path = os.path.join(_KRB_PREFIX, 'lib/krb5/plugins',
+ plugin_path = os.path.join(_find_plugin_dir(),
134
plugin_type, '%s.so' % plugin_name)
135
136
def make_krb_plugin_test(func):
0 commit comments