Repo Management Tests

Repository management tests

class rhui4_tests.test_repo_management.TestRepo[source]

class for repository manipulation tests

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

log in to RHUI, upload cert, check if no repo exists

static test_02_create_3_custom_repos()[source]

create 3 custom repos (protected, unprotected, no RH GPG check)

static test_03_check_custom_repo_list()[source]

check if the repolist contains the 3 custom repos

static test_04_repo_id_uniqueness()[source]

verify that rhui-manager refuses to create a custom repo whose name already exists

test_05_upload_local_rpms()[source]

upload rpms from a local directory to a custom repo

test_06_upload_remote_rpms()[source]

upload rpms from remote servers to custom repos

test_07_check_for_package()[source]

check package lists

test_08_display_custom_repos()[source]

check detailed information on the custom repos

test_09_add_rh_repo_by_repo()[source]

add a Red Hat repo by its name

test_10_display_rh_repo()[source]

check detailed information on the Red Hat repo

test_11_check_retain_repo_versions()[source]

check if retain_repo_versions is used

test_12_delete_one_repo()[source]

remove the Red Hat repo

static test_13_remove_package()[source]

check if packages can be removed from a custom repo

static test_14_remove_all_packages()[source]

check if all packages can be removed from a custom repo

test_15_add_rh_repo_by_product()[source]

add a Red Hat repo by the product that contains it, remove it

test_16_add_containers()[source]

add containers

test_17_display_container()[source]

check detailed information on the RH container

static test_18_delete_containers()[source]

delete the containers

static test_19_entitlement_cache()[source]

check if entitlements are cached and evaluated in the blink of an eye

static test_20_entitlement_cache_refresh()[source]

check if the cache is refreshed if a new minor version of a repo appears

static test_21_missing_cert_handling()[source]

check if rhui-manager can handle the loss of the RH cert

static test_22_repo_select_0()[source]

check if no repo is chosen if 0 is entered when adding a repo