Skip to content

Commit

Permalink
[6.14.z] remove test_installer_inventory_plugin_update (#13156)
Browse files Browse the repository at this point in the history
remove test_installer_inventory_plugin_update (#13148)

(cherry picked from commit c38d4f0)

Co-authored-by: rmynar <[email protected]>
  • Loading branch information
Satellite-QE and rmynar authored Nov 22, 2023
1 parent dfe7488 commit dd3780b
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions tests/foreman/destructive/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from fauxfactory import gen_domain, gen_string
import pytest

from robottelo.config import settings
from robottelo.constants import SATELLITE_ANSWER_FILE
from robottelo.utils.installer import InstallerCommand

Expand Down Expand Up @@ -89,46 +88,6 @@ def test_installer_sat_pub_directory_accessibility(target_sat):
assert 'Success!' in command_output.stdout


def test_installer_inventory_plugin_update(target_sat):
"""DB consistency should not break after enabling the inventory plugin flags
:id: a2b66d38-e819-428f-9529-23bed398c916
:steps:
1. Enable the cloud inventory plugin flag
:expectedresults: inventory flag should be updated successfully without any db consistency
error.
:CaseImportance: High
:CaseLevel: System
:BZ: 1863597
:customerscenario: true
"""
target_sat.create_custom_repos(rhel7=settings.repos.rhel7_os)
installer_cmd = target_sat.install(
InstallerCommand(
'enable-foreman-plugin-rh-cloud',
foreman_proxy_plugin_remote_execution_script_install_key=['true'],
)
)
assert 'Success!' in installer_cmd.stdout
verify_rhcloud_flag = target_sat.install(
InstallerCommand(help='|grep "\'foreman_plugin_rh_cloud\' puppet module (default: true)"')
)
assert 'true' in verify_rhcloud_flag.stdout
verify_proxy_plugin_flag = target_sat.install(
InstallerCommand(
**{'full-help': '| grep -A1 foreman-proxy-plugin-remote-execution-script-install-key'}
)
)
assert '(current: true)' in verify_proxy_plugin_flag.stdout


def test_positive_mismatched_satellite_fqdn(target_sat, set_random_fqdn):
"""The satellite-installer should display the mismatched FQDN
Expand Down

0 comments on commit dd3780b

Please sign in to comment.