Update Info Tests

Update Info Tests

class rhui3_tests.test_updateinfo.TestClient[source]

class for client 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

static test_02_add_cds()[source]

add a CDS

static test_03_add_hap()[source]

add an HAProxy Load-balancer

test_04_add_repo()[source]

add a custom repo

test_05_upload_packages()[source]

upload packages to the custom repo

test_06_import_updateinfo()[source]

import update info

test_07_generate_ent_cert()[source]

generate an entitlement certificate

test_08_create_cli_rpm()[source]

create a client configuration RPM from the entitlement certificate

test_09_install_conf_rpm()[source]

install the client configuration RPM

test_10_install_test_rpm()[source]

install an old version of an RPM from the repo

test_11_check_updateinfo()[source]

check if the expected update info is found

test_12_compare_n_of_updates()[source]

check if the all the updates from the original updateinfo file are available from RHUI

test_13_uncompressed_xml()[source]

also check if an uncompressed updateinfo.xml file can be used

test_99_cleanup()[source]

remove the repo, uninstall hap, cds, cli rpm artefacts; remove rpms from cli