mirror of
https://github.com/oskar456/dzonegit.git
synced 2024-05-11 05:55:41 +00:00
Do not template line breaks when header and footer are missing
This commit is contained in:
@ -387,6 +387,8 @@ def test_template_config(git_dir):
|
||||
blacklist=set("*"),
|
||||
)
|
||||
assert " - zone: \"dummy\"\n file: \"" not in output
|
||||
output = dzonegit.template_config(str(git_dir), "{}")
|
||||
assert len(output) == 0
|
||||
|
||||
|
||||
def test_load_set_file(git_dir):
|
||||
|
Reference in New Issue
Block a user