From dee15c48b779f077ecedb54ed1be4a856830dfae Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:47:43 -0400 Subject: [PATCH] [6.15.z] Update customer BZ in docstring (#15604) Update customer BZ in docstring (#15593) * Update customer BZ in docstring * Update tests/foreman/cli/test_fact.py Co-authored-by: vijay sawant --------- Co-authored-by: vijay sawant (cherry picked from commit 441e37bbc84087b5d975bc65c80dd559e663043b) Co-authored-by: Shweta Singh --- tests/foreman/cli/test_fact.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/foreman/cli/test_fact.py b/tests/foreman/cli/test_fact.py index 646eac5f9de..b17d4133f27 100644 --- a/tests/foreman/cli/test_fact.py +++ b/tests/foreman/cli/test_fact.py @@ -121,16 +121,22 @@ def test_positive_update_client_facts_verify_imported_values( def test_positive_custom_facts_and_clean_orphaned_facts( module_target_sat, module_org, module_location, module_activation_key, rhel_contenthost ): - """Create custom facts, verify they are updated on Satellite and cleanup the orphaned facts. + """Create custom facts, verify they are updated on Satellite and cleanup the orphaned facts successfully without + any foreign key violation. :id: ae0b5574-cc8b-4f0c-ba7b-c6f480c08e06 + :BZ: 2004158 + + :customerscenario: true + :steps: 1. Create few custom facts 2. Verify on Satellite 3. Run "foreman-rake facts:clean" to clean orphaned facts. - :expectedresults: Custom facts are created, uploaded successfully and orphaned facts are cleaned up. + :expectedresults: Custom facts are created, uploaded successfully and orphaned facts are cleaned up without + any foreign key violation. """ result = rhel_contenthost.register( target=module_target_sat,