CDS Management Tests

CDS management tests

rhui3_tests.test_cds.setup()[source]

announce the beginning of the test run

rhui3_tests.test_cds.teardown()[source]

announce the end of the test run

rhui3_tests.test_cds.test_01_initial_run()[source]

log in to RHUI

rhui3_tests.test_cds.test_02_list_empty_cds()[source]

check if there are no CDSs

rhui3_tests.test_cds.test_03_add_cds()[source]

add all known CDSs

rhui3_tests.test_cds.test_04_list_cds()[source]

list CDSs, expect as many as there are in /etc/hosts

rhui3_tests.test_cds.test_05_readd_cds()[source]

add one of the CDSs again (reapply the configuration)

rhui3_tests.test_cds.test_06_list_cds()[source]

check if the CDSs are still tracked

rhui3_tests.test_cds.test_07_delete_nonexisting_cds()[source]

try deleting an untracked CDS, should be rejected (by rhui3_tests_lib)

rhui3_tests.test_cds.test_08_delete_cds()[source]

delete all CDSs

rhui3_tests.test_cds.test_09_list_cds()[source]

list CDSs, expect none

rhui3_tests.test_cds.test_10_check_cleanup()[source]

check if Apache was stopped and the remote file system unmounted on all CDSs

rhui3_tests.test_cds.test_11_add_cds_uppercase()[source]

add (and delete) a CDS with uppercase characters

rhui3_tests.test_cds.test_12_delete_unreachable()[source]

add a CDS, make it unreachable, and see if it can still be deleted from the RHUA

rhui3_tests.test_cds.test_13_delete_select_0()[source]

add a CDS and see if no issue occurs if it and “a zeroth” (ghost) CDSs are selected for deletion

rhui3_tests.test_cds.test_14_verbose_reporting()[source]

check if a failure is reported properly (if puppet is verbose)