From 5b8de76c228ac9159caa91762e2aeaee44c9dba4 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 20 Dec 2024 23:36:52 +0100 Subject: [PATCH] fix tests --- cmdeploy/src/cmdeploy/tests/test_dns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdeploy/src/cmdeploy/tests/test_dns.py b/cmdeploy/src/cmdeploy/tests/test_dns.py index a546faeb..fd11095f 100644 --- a/cmdeploy/src/cmdeploy/tests/test_dns.py +++ b/cmdeploy/src/cmdeploy/tests/test_dns.py @@ -110,7 +110,7 @@ def test_check_zonefile_output_required_fine(self, cm_data, mockdns_base, mockou parse_zonefile_into_dict(zonefile_mocked, mockdns_base, only_required=True) mssh = MockSSHExec() mockdns_base["mail_domain"] = "some.domain" - res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile, all=False) + res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile) assert res == 0 assert "WARNING" in mockout.captured_plain[0] assert len(mockout.captured_plain) == 9 @@ -120,7 +120,7 @@ def test_check_zonefile_output_full(self, cm_data, mockdns_base, mockout): parse_zonefile_into_dict(zonefile, mockdns_base) mssh = MockSSHExec() mockdns_base["mail_domain"] = "some.domain" - res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile, all=True) + res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile) assert res == 0 assert not mockout.captured_red assert "correct" in mockout.captured_green[0]