Tests for Configurable Sync Policies

Tests for Configurable Sync Policies

class rhui4_tests.test_sync_policies.TestSyncPolicies[source]

class to test sync policies

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_check_regular_repo_default()[source]

add a regular repo and check its default sync policy

test_03_add_check_debug_repo_default()[source]

add a debug repo and check its default sync policy

test_04_add_check_source_repo_default()[source]

add a source repo and check its default sync policy

static test_05_set_non_default_policy()[source]

set the non-default sync policy as the default and trigger repo synchronizations

test_06_check_regular_repo_non_default()[source]

check if the sync policy of the regular repo is now non-default

test_07_check_debug_repo_non_default()[source]

check if the sync policy of the debug repo is now non-default

test_08_check_source_repo_non_default()[source]

check if the sync policy of the source repo is now non-default

test_09_readd_repos_non_default_policies()[source]

remove the repos, set non-default policies, re-add the repos, and sync them

test_10_check_regular_repo_non_default()[source]

examine the regular repo and check its non-default sync policy

test_11_check_debug_repo_non_default()[source]

examine the debug repo and check its non-default sync policy

test_12_check_source_repo_non_default()[source]

examine the source repo and check its non-default sync policy

test_13_create_install_cli_config_rpm()[source]

create and install a client configuration RPM

test_14_download_regular_rpm()[source]

download the regular test RPM

test_15_download_debug_rpm()[source]

download the debug test RPM

test_16_download_source_rpm()[source]

download the source test RPM

test_99_cleanup()[source]

clean up