Tests for custom certificates

Tests for custom certificates

rhui4_tests.test_custom_certs.setup()[source]

announce the beginning of the test run

rhui4_tests.test_custom_certs.teardown()[source]

announce the end of the test run

rhui4_tests.test_custom_certs.test_01_check_custom_files()[source]

check if all the custom certificates and keys exist

rhui4_tests.test_custom_certs.test_02_backup()[source]

back up the original certificates and keys

rhui4_tests.test_custom_certs.test_03_rerun_installer()[source]

rerun the installer with the custom certificates and keys

rhui4_tests.test_custom_certs.test_04_check_installed_files()[source]

check if the custom certificates and keys were really installed

rhui4_tests.test_custom_certs.test_05_add_cds()[source]

[TUI] add a CDS with a custom SSL cert and key

rhui4_tests.test_custom_certs.test_06_check_cds()[source]

check if the files are on the CDS

rhui4_tests.test_custom_certs.test_07_delete_cds()[source]

delete the CDS so it can be added using the CLI

rhui4_tests.test_custom_certs.test_08_add_cds()[source]

[CLI] add a CDS with a custom SSL cert and key

rhui4_tests.test_custom_certs.test_09_check_cert_on_cds()[source]

check if the files are on the CDS

rhui4_tests.test_custom_certs.test_10_add_cds_without_custom_ssl()[source]

check if another CDS cannot be added without a custom SSL certificate

rhui4_tests.test_custom_certs.test_11_add_cds_with_other_custom_ssl()[source]

check if another CDS cannot be added with a different SSL certificate

rhui4_tests.test_custom_certs.test_12_add_haproxy()[source]

add an HAProxy node (no special parameters)

rhui4_tests.test_custom_certs.test_13_check_nodes()[source]

check if only the expected nodes are present

rhui4_tests.test_custom_certs.test_99_cleanup()[source]

clean up: rerun the installer with the original certificates and keys, remove the nodes