1
0
mirror of https://github.com/oskar456/dzonegit.git synced 2024-05-11 05:55:41 +00:00

setup the correct pre-state for test_get_zone_name

This commit is contained in:
sturmianseq
2021-08-02 03:55:41 +00:00
committed by Ondřej Caletka
parent a96597decb
commit 498d4a8b82

View File

@ -156,6 +156,7 @@ $ORIGIN eXample.com. ;coment
60 IN NS ns
ns.example.com. 60 IN A 192.0.2.1
"""
subprocess.call(["git", "config", "dzonegit.allowfancynames", "FALSE"])
assert "example.com" == dzonegit.get_zone_name(
"zones/example.com.zone", "",
)