Tests for the “retain package versions” feature
Tests for the “retain package versions” feature
-
class rhui4_tests.test_retain_package_versions.TestCLI[source]
class for the 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_init()[source]
log in to RHUI
-
static test_02_upload_certificate()[source]
upload the entitlement certificate
-
static test_03_set_config_1()[source]
set retain package versions to 1
-
test_04_add_repo()[source]
add a Red Hat repo
-
test_05_check_package()[source]
check a package in the repo, expect 1 instance
-
test_06_delete_repo()[source]
delete the repo
-
static test_07_set_config_2()[source]
set retain package versions to 2
-
test_08_add_repo()[source]
add a Red Hat repo
-
test_09_check_package()[source]
check a package in the repo, expect 2 instances
-
test_10_cleanup()[source]
clean up