Skip to content

Commit

Permalink
add asserts for certs and key pem
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed Feb 7, 2025
1 parent d42baed commit 7e30b64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/foreman/cli/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -2855,3 +2855,6 @@ def test_positive_reregister_rhel(
)
assert reregister.status == 0
assert rhel_contenthost.subscribed
certs = rhel_contenthost.execute("ls /etc/pki/consumer").stdout
assert 'cert.pem' in certs
assert 'key.pem' in certs

0 comments on commit 7e30b64

Please sign in to comment.