Skip to content

Commit

Permalink
removal of unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmynar committed Sep 26, 2023
1 parent 671a69e commit 7062fca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 138 deletions.
12 changes: 0 additions & 12 deletions tests/foreman/cli/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
126 changes: 0 additions & 126 deletions tests/foreman/installer/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 7062fca

Please sign in to comment.