Skip to content

Commit 5b8de76

Browse files
committed
fix tests
1 parent d6205d9 commit 5b8de76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmdeploy/src/cmdeploy/tests/test_dns.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_check_zonefile_output_required_fine(self, cm_data, mockdns_base, mockou
110110
parse_zonefile_into_dict(zonefile_mocked, mockdns_base, only_required=True)
111111
mssh = MockSSHExec()
112112
mockdns_base["mail_domain"] = "some.domain"
113-
res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile, all=False)
113+
res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile)
114114
assert res == 0
115115
assert "WARNING" in mockout.captured_plain[0]
116116
assert len(mockout.captured_plain) == 9
@@ -120,7 +120,7 @@ def test_check_zonefile_output_full(self, cm_data, mockdns_base, mockout):
120120
parse_zonefile_into_dict(zonefile, mockdns_base)
121121
mssh = MockSSHExec()
122122
mockdns_base["mail_domain"] = "some.domain"
123-
res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile, all=True)
123+
res = check_full_zone(mssh, mockdns_base, out=mockout, zonefile=zonefile)
124124
assert res == 0
125125
assert not mockout.captured_red
126126
assert "correct" in mockout.captured_green[0]

0 commit comments

Comments
 (0)