1
0
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:
Ondřej Caletka
2018-09-17 13:48:52 +02:00
parent ef059861b7
commit 4efef8be9e
2 changed files with 6 additions and 2 deletions

View File

@ -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):