From 7062fcaadd3d68c848963353f5f785f9beb3ca6a Mon Sep 17 00:00:00 2001 From: Radek Mynar Date: Tue, 26 Sep 2023 16:33:44 +0200 Subject: [PATCH] removal of unnecessary tests --- tests/foreman/cli/test_installer.py | 12 --- tests/foreman/installer/test_installer.py | 126 ---------------------- 2 files changed, 138 deletions(-) diff --git a/tests/foreman/cli/test_installer.py b/tests/foreman/cli/test_installer.py index 67d0bf7ad9c..7980f40a385 100644 --- a/tests/foreman/cli/test_installer.py +++ b/tests/foreman/cli/test_installer.py @@ -36,15 +36,3 @@ def test_positive_server_installer_from_iso(): :CaseAutomation: NotAutomated """ - - -def test_positive_disconnected_util_installer(): - """Can install satellite disconnected utility successfully - via RPM - - :id: b738cf2a-9c5f-4865-b134-102a4688534c - - :expectedresults: Install of disconnected utility successful. - - :CaseAutomation: NotAutomated - """ diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index eafaf5673dd..86b6942638b 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -1693,132 +1693,6 @@ def test_installer_check_on_ipv6(): """ -@pytest.mark.stubbed -@pytest.mark.tier1 -def test_installer_verbose_stdout(): - """Look for Satellite installer verbose STDOUT - - :id: 5d0fb30a-4a63-41b3-bc6f-c4057942ce3c - - :steps: - 1. Install satellite package. - 2. Run Satellite installer - 3. Observe installer STDOUT. - - :expectedresults: - 1. Installer STDOUTs following groups hooks completion. - pre_migrations, boot, init, pre_values, pre_validations, pre_commit, pre, post - 2. Installer STDOUTs system configuration completion. - 3. Finally, Installer informs running satellite url, credentials, - external capsule installation pre-requisite, upgrade capsule instruction, - running internal capsule url, log file. - - :CaseLevel: System - - :CaseAutomation: NotAutomated - """ - - -@pytest.mark.stubbed -@pytest.mark.tier1 -def test_installer_answers_file(): - """Answers file to configure plugins and hooks - - :id: 5cb40e4b-1acb-49f9-a085-a7dead1664b5 - - :steps: - 1. Install satellte package - 2. Modify `/etc/foreman-installer/scenarios.d/satellite-answers.yaml` file to - configure hook/plugin on satellite - 3. Run Satellite installer - - :expectedresults: Installer configures plugins and hooks in answers file. - - :CaseLevel: System - - :CaseAutomation: NotAutomated - """ - - -@pytest.mark.stubbed -@pytest.mark.tier1 -def test_capsule_installer_verbose_stdout(): - """Look for Capsule installer verbose STDOUT - - :id: 323e85e3-2ad1-4018-aa35-1d51f1e7f5a2 - - :steps: - 1. Install capsule package. - 2. Run Satellite installer --scenario capsule - 3. Observe installer STDOUT. - - :expectedresults: - 1. Installer STDOUTs following groups hooks completion. - pre_migrations, boot, init, pre_values, pre_validations, pre_commit, pre, post - 2. Installer STDOUTs system configuration completion. - 3. Finally, Installer informs running capsule url, log file. - - :CaseLevel: System - - :CaseAutomation: NotAutomated - """ - - -@pytest.mark.stubbed -@pytest.mark.tier3 -def test_installer_timestamp_logs(): - """Look for Satellite installer timestamp based logs - - :id: 9b4d32f6-d471-4bdb-8a79-9bb20ecb86aa - - :steps: - 1. Install satellite package. - 2. Run Satellite installer - 3. Observe installer log file `/var/log/foreman-installer/satellite.log`. - - :expectedresults: - 1. Installer logs satellite installation with timestamps in following format - YYYY-MM-DD HH:MM:SS - - :CaseLevel: System - - :CaseAutomation: NotAutomated - """ - - -@pytest.mark.stubbed -@pytest.mark.tier3 -def test_positive_capsule_installer_and_register(): - """Verify the capsule installation and their registration with the satellite. - - :id: efd03442-5a08-445d-b257-e4d346084379 - - :steps: - 1. Install the satellite. - 2. Add all the required cdn and custom repositories in satellite to - install the capsule. - 3. Create life-cycle environment,content view and activation key. - 4. Subscribe the capsule with created activation key. - 5. Run 'yum update -y' on capsule. - 6. Run 'yum install -y satellite-capsule' on capsule. - 7. Create a certificate on satellite for new installed capsule. - 8. Copy capsule certificate from satellite to capsule. - 9. Run the satellite-installer(copy the satellite-installer command from step7'th - generated output) command on capsule to integrate the capsule with satellite. - 10. Check the newly added capsule is reflected in the satellite or not. - 11. Check the capsule sync. - - :expectedresults: - - 1. Capsule integrate successfully with satellite. - 2. Capsule sync should be worked properly. - - :CaseLevel: System - - :CaseAutomation: NotAutomated - """ - - @pytest.mark.stubbed @pytest.mark.tier3 def test_positive_satellite_installer_logfile_check():