3e4c66d84c
Remove some duplicated code, handle KerberosError and make get_host_and_realm() a top-level method. Add integration test for IPA connection code. It must be run manually against a current installation at the moment. Make the default IPA retry two so we actually do a retr Change-Id: I6c0b52ed964851eff43c2d3fb209a90f9b1539e4 |
||
---|---|---|
.. | ||
README | ||
krb5.conf | ||
test_ipa.py |
README
Currently this test needs to be executed against a live installation with a copy of the novajoin keytab in /tmp/test.keytab. A new krb5.conf is included which will force the default ticket lifetime to 1 minute and time.sleep(60) is used to ensure an expiration will happen. I execute it as: nosetests -v novajoin/tests/integration/test_ipa.py