Browse Source

gitlab: SSHFP now has tab instead of space in stdout

keep-around/634c0c493aa0deea56b740fb954b25e347c2894c
Loïc Dachary 11 months ago
committed by some
parent
commit
634c0c493a
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 5
      playbooks/gitlab/tests/test_sshfp.py

5
playbooks/gitlab/tests/test_sshfp.py

@ -10,8 +10,7 @@ def test_sshfp(host):
# vars:
# install_ssh_records_host: lab
#
cmd = host.run('dig sshfp +noall +answer @ns1.{domain} lab.{domain}'.format(
domain=domain))
cmd = host.run(f'dig sshfp +noall +answer @ns1.{domain} lab.{domain}')
assert cmd.rc == 0
assert 'IN SSHFP' in cmd.stdout
assert 'SSHFP' in cmd.stdout
assert 'lab.' + domain in cmd.stdout

Loading…
Cancel
Save