summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-09-30 17:16:46 +0000
committerGreg Hudson <ghudson@mit.edu>2010-09-30 17:16:46 +0000
commit3e668d20274d528775f7d9c10caff946c10760e2 (patch)
tree2884831b750d410751425573f377030cf539366e /src/tests
parenta3141561d86b73cee18fb1874aff0f662a8c378c (diff)
downloadkrb5-3e668d20274d528775f7d9c10caff946c10760e2.tar.gz
krb5-3e668d20274d528775f7d9c10caff946c10760e2.tar.xz
krb5-3e668d20274d528775f7d9c10caff946c10760e2.zip
Whitespace
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24393 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/Makefile.in3
-rw-r--r--src/tests/t_kadm5_hook.py15
2 files changed, 8 insertions, 10 deletions
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in
index 924de2dbf..85a592b8d 100644
--- a/src/tests/Makefile.in
+++ b/src/tests/Makefile.in
@@ -64,8 +64,7 @@ check-pytests::
$(RUNPYTEST) $(srcdir)/t_general.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_anonpkinit.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_lockout.py $(PYTESTFLAGS)
- $(RUNPYTEST) $(srcdir)/t_kadm5_hook.py $(PYTESTFLAGS)
-
+ $(RUNPYTEST) $(srcdir)/t_kadm5_hook.py $(PYTESTFLAGS)
clean::
$(RM) kdc.conf
diff --git a/src/tests/t_kadm5_hook.py b/src/tests/t_kadm5_hook.py
index 50f9a33f3..0c8b19dac 100644
--- a/src/tests/t_kadm5_hook.py
+++ b/src/tests/t_kadm5_hook.py
@@ -1,23 +1,22 @@
#!/usr/bin/python
from k5test import *
-plugin = os.path.join(buildtop, "plugins", "kadm5_hook", "test", "kadm5_hook_test.so")
+
+plugin = os.path.join(buildtop, "plugins", "kadm5_hook", "test",
+ "kadm5_hook_test.so")
hook_krb5_conf = {
'all' : {
"plugins" : {
- "kadm5_hook": {
- "module": "test:"+plugin
- }
+ "kadm5_hook" : {
+ "module" : "test:" + plugin
}
}
}
+}
-realm = K5Realm(krb5_conf=hook_krb5_conf, create_user=False,
- create_host=False)
+realm = K5Realm(krb5_conf=hook_krb5_conf, create_user=False, create_host=False)
output = realm.run_kadminl ('addprinc -randkey test')
if "create: stage precommit" not in output:
fail('kadm5_hook test output not found')
-
-
success('kadm5_hook')