Skip to content

Commit

Permalink
Bump redis from 5.0.3 to 5.0.4 (SatelliteQE#14867)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and jameerpathan111 committed Apr 24, 2024
1 parent f9ba93d commit d0993ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
2 changes: 1 addition & 1 deletion requirements-optional.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# For running tests and checking code quality using these modules.
flake8==7.0.0
pytest-cov==5.0.0
redis==5.0.3
redis==5.0.4
pre-commit==3.7.0

# For generating documentation.
Expand Down
41 changes: 1 addition & 40 deletions tests/foreman/sys/test_katello_certs_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,28 +157,6 @@ def test_positive_validate_katello_certs_check_output(self, cert_setup_teardown)
result = target_sat.execute(command)
self.validate_output(result, cert_data)

@pytest.mark.tier1
def test_katello_certs_check_output_wildcard_inputs(self, cert_setup_teardown):
"""Validate that katello-certs-check generates correct output with wildcard certs.
:id: 7f9da806-5b23-11eb-b7ea-d46d6dd3b5b2
:steps:
1. Get valid wildcard certs from generate_certs
2. Run katello-certs-check with the required valid arguments
katello-certs-check -c CERT_FILE -k KEY_FILE -r REQ_FILE
-b CA_BUNDLE_FILE
3. Assert the output has correct commands with options
:expectedresults: katello-certs-check should generate correct commands
with options.
"""
cert_data, target_sat = cert_setup_teardown
command = 'katello-certs-check -c certs/wildcard.crt -k certs/wildcard.key -b certs/ca.crt'
result = target_sat.execute(command)
self.validate_output(result, cert_data)

@pytest.mark.parametrize(('error', 'cert_file', 'key_file', 'ca_file'), invalid_inputs)
@pytest.mark.tier1
def test_katello_certs_check_output_invalid_input(
Expand Down Expand Up @@ -234,7 +212,7 @@ def test_negative_check_expiration_of_certificate(self, cert_setup_teardown):
:expectedresults: Checking expiration of certificate check should fail.
:CaseAutomation: NotAutomated
:CaseAutomation: Automated
"""
cert_data, target_sat = cert_setup_teardown
hostname = target_sat.hostname
Expand Down Expand Up @@ -275,20 +253,3 @@ def test_negative_validate_certificate_subject(self):
:CaseAutomation: NotAutomated
"""

@pytest.mark.stubbed
@pytest.mark.tier1
def test_negative_check_private_key_match(self):
"""Validate private key match with certificate.
:id: 358edbb3-08b0-47d7-856b-ce0d5ea95979
:steps:
1. Have KEY_FILE with invalid private key
2. Run katello-certs-check with the required arguments
:expectedresults: Private key match with the certificate should fail.
:CaseAutomation: NotAutomated
"""

0 comments on commit d0993ac

Please sign in to comment.