novajoin/novajoin/tests/functional
Grzegorz Grasza f5aab5544d Test compact_services metadata
This tests new and old formats, as well as instance metadata updates.

Change-Id: Ie7b3bcdbb98bb2786000207b72e7b289d5051b8f
2018-12-19 20:39:53 +01:00
..
README Move test_ipa_integration to functional tests directory 2018-11-06 13:27:36 +01:00
__init__.py Add test to ensure that cloud-config-novajoin.json is valid json 2017-08-25 16:15:05 -04:00
krb5.conf Move test_ipa_integration to functional tests directory 2018-11-06 13:27:36 +01:00
test_cloudinit.py Add test to ensure that cloud-config-novajoin.json is valid json 2017-08-25 16:15:05 -04:00
test_enrollment.py Test compact_services metadata 2018-12-19 20:39:53 +01:00
test_ipa_integration.py Move test_ipa_integration to functional tests directory 2018-11-06 13:27:36 +01:00

README

The test_ipa_integration.py test needs to be executed against a live
installation of FreeIPA. It will look for a copy of the novajoin keytab in
/etc/novajoin/krb5.keytab or /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.

To run only the FreeIPA integration test, execute it as:

python -m unittest novajoin.tests.functional.test_ipa_integration