Tests for Repository Prefix Customization

Tests for Repository Prefix Customization

class rhui4_tests.test_repo_prefix.TestRepoPrefix[source]

class to test repository prefixes

static setup_class()[source]

announce the beginning of the test run

static teardown_class()[source]

announce the end of the test run

static test_01_setup()[source]

log in to RHUI, ensure CDS & HAProxy nodes have been added

test_02_add_repos()[source]

add and sync a Red Hat repo, and create protected and uprotected custom repos

static test_03_set_custom_prefix()[source]

set a custom prefix (by editing the RHUI config file)

test_04_create_cli_config_rpm()[source]

create the 1st client configuration RPM

static test_05_install_conf_rpm()[source]

install the 1st client configuration RPM on the client

test_06_check_repo_ids()[source]

check if the repos on the client use the custom prefix

static test_07_set_another_custom_prefix()[source]

set another custom prefix (by rerunning the RHUI installer)

static test_08_check_prefix()[source]

check if the installer changed the prefix in the configuration

test_09_create_cli_config_rpm()[source]

create the 2nd client configuration RPM

static test_10_install_conf_rpm()[source]

install the 2nd client configuration RPM on the client

test_11_check_repo_ids()[source]

check if the repos on the client use the other custom prefix

static test_12_unset_custom_prefix()[source]

set no custom prefix (using the installer again)

static test_13_check_prefix()[source]

check if the installer unset the prefix in the configuration

static test_14_rerun_installer_check_prefix()[source]

check if rerunning the installer preserves the prefix setting

test_15_create_cli_config_rpm()[source]

create the 3rd client configuration RPM

static test_16_install_conf_rpm()[source]

install the 3rd client configuration RPM on the client

test_17_check_repo_ids()[source]

check if the repos on the client do not use any prefix

test_99_cleanup()[source]

clean up