Comps XML (Yum Package Groups) Tests

Comps XML (Yum Package Groups) Tests

class rhui4_tests.test_comps.TestCompsXML[source]

class to test comps XML handling

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]

create custom repos for testing

test_03_add_comps()[source]

import comps XML files to the repos

test_04_create_cli_config_rpms()[source]

create client configuration RPMs for the repos

test_05_install_conf_rpm()[source]

install the 1st client configuration RPM on the client

test_06_check_groups()[source]

compare client’s available groups with the 1st original comps file, check a test group

test_07_check_test_package()[source]

check if the client can see the 1st test package as available in group information

test_08_install_conf_rpm()[source]

replace the 1st client configuration RPM with the 2nd one on the client

test_09_check_groups()[source]

compare client’s available groups with the 2nd original comps file, check a test group

test_10_check_test_package()[source]

check if the client can see the 2nd test package as available in group information

test_11_check_langpacks()[source]

check available langpacks in the processed comps files

test_12_additional_group()[source]

import a comps file containing one more group and expect the group to be added

test_13_big_comps()[source]

import comps for the (big) RHEL 8 repo and check if all its groups get processed

test_14_empty_comps()[source]

import a comps file containing no group and expect no problem and no repodata refresh

test_15_gzip()[source]

try using a compressed comps XML file, should be handled well

test_16_wrong_input_files()[source]

try using an invalid XML file and a file with an invalid extension

test_17_wrong_repo()[source]

try using an invalid repository ID

test_99_cleanup()[source]

clean up