Tests for the “retain repo versions” feature
Tests for the “retain repo versions” feature
-
class rhui4_tests.test_retain_repo_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
-
test_02_create_repo()[source]
create a custom repo
-
test_03_check_max_repo_versions()[source]
check if the repo was created with the configured number of versions
-
test_04_prep_packages_for_upload()[source]
prepare packages for upload
-
test_05_upload_packages()[source]
upload the packages, one by one, so as to create multiple repo versions
-
test_06_check_versions()[source]
check if the current number of repo version did not exceed the limit and 0 is gone
-
test_07_check_version_0_gone()[source]
also check if its deletion was logged
-
test_08_cleanup()[source]
clean up