From 8d91b71dc79329653ee9f1b699d8c712e2d9fd6f Mon Sep 17 00:00:00 2001 From: romeroalx Date: Tue, 8 Oct 2024 01:41:55 +0200 Subject: [PATCH] pdns_server --version output in stdout instead of stderr in master --- molecule/resources/tests/repo-master/test_repo_master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/resources/tests/repo-master/test_repo_master.py b/molecule/resources/tests/repo-master/test_repo_master.py index a0dca55..b93a2cb 100644 --- a/molecule/resources/tests/repo-master/test_repo_master.py +++ b/molecule/resources/tests/repo-master/test_repo_master.py @@ -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