Update tests for SOA negative TTL
All checks were successful
ci/woodpecker/push/package-deploy Pipeline was successful

This commit is contained in:
minecraftchest1@outlook.com 2025-01-27 10:42:11 -06:00
parent 58fea64caf
commit f9e04b1dbc

View file

@ -28,7 +28,7 @@ def test_A(tmp_path):
zone_file_1 = tmp_path / "test-A.zone" zone_file_1 = tmp_path / "test-A.zone"
zone.save_file(zone_file_1) zone.save_file(zone_file_1)
expected = """@ 3600 IN SOA ns1.minecraftchest1.us. admin.minecraftchest1.us. 1 65535 3600 15552000 expected = """@ 3600 IN SOA ns1.minecraftchest1.us. admin.minecraftchest1.us. 1 65535 3600 15552000 65535
1.minecraftchest1.us. 3600 IN A 0.0.0.0 1.minecraftchest1.us. 3600 IN A 0.0.0.0
2.minecraftchest1.us. 60 IN A 0.0.0.0 2.minecraftchest1.us. 60 IN A 0.0.0.0
3.minecraftchest1.us. 60 IN A 0.0.0.0 3.minecraftchest1.us. 60 IN A 0.0.0.0