Entitlement Management Tests
Entitlement management tests
-
class rhui4_tests.test_entitlements.TestEntitlement[source]
class for entitlement 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_initial_run()[source]
log in to RHUI
-
static test_02_list_rh_entitlements()[source]
list Red Hat content certificate entitlements
-
static test_03_list_cus_entitlements()[source]
list custom content certificate entitlements, expect none
-
static test_04_upload_rh_certificate()[source]
upload a new or updated Red Hat content certificate
-
static test_05_list_rh_entitlements()[source]
list Red Hat content certificate entitlements
-
static test_06_add_custom_repo()[source]
add a custom repo to protect by a client entitlement certificate
-
static test_07_list_cust_entitlements()[source]
list custom content certificate entitlements, expect one
-
static test_08_remove_custom_repo()[source]
remove the custom repo
-
static test_09_list_cust_entitlements()[source]
list custom content certificate entitlements, expect none
-
static test_10_remove_certificates()[source]
clean up uploaded entitlement certificates
-
static test_11_upload_exp_cert()[source]
upload an expired certificate, expect a proper refusal
-
static test_12_upload_incompat_cert()[source]
upload an incompatible certificate, expect a proper refusal
-
static test_13_upload_semi_bad_cert()[source]
upload a certificate containing a mix of valid and invalid repos
-
static test_14_remove_semi_bad_cert()[source]
remove the certificate
-
static test_15_upload_nonexist_cert()[source]
try uploading a certificate file that does not exist, should be handled gracefully
-
static test_16_upload_empty_cert()[source]
upload a certificate that contains no entitlements