Skip to content

Commit

Permalink
pdns_server --version output in stdout instead of stderr in master
Browse files Browse the repository at this point in the history
  • Loading branch information
romeroalx committed Oct 8, 2024
1 parent 4c9b7e8 commit 8d91b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions molecule/resources/tests/repo-master/test_repo_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ def test_repo_pinning_file(host):
def test_pdns_version(host):
cmd = host.run('/usr/sbin/pdns_server --version')

assert 'PowerDNS Authoritative Server' in cmd.stderr
assert 'master' in cmd.stderr
assert 'PowerDNS Authoritative Server' in cmd.stderr or 'PowerDNS Authoritative Server' in cmd.stdout
assert 'master' in cmd.stderr or 'master' in cmd.stdout

0 comments on commit 8d91b71

Please sign in to comment.