Rename source to sources in test suite

This commit is contained in:
Olivier 'reivilibre' 2021-11-14 07:01:10 +00:00
parent 78196b4ca3
commit 9b8ab8bd0a
2 changed files with 4 additions and 4 deletions

View File

@ -90,15 +90,15 @@ class TestBackupAndExtract(TestCase):
set_up_simple_datman( set_up_simple_datman(
datman_path, datman_path,
f""" f"""
[source.srcimpossible] [sources.srcimpossible]
directory = "/path/to/absolutely/nowhere" directory = "/path/to/absolutely/nowhere"
hostname = "{get_hostname()}" hostname = "{get_hostname()}"
[source.srcimpossible2] [sources.srcimpossible2]
directory = "/path/to/absolutely/nowhere" directory = "/path/to/absolutely/nowhere"
hostname = "notmymachine" hostname = "notmymachine"
[source.srcimpossible3] [sources.srcimpossible3]
helper = "failedhelper" helper = "failedhelper"
label = "precious" label = "precious"
kind = {{ stdout = "blahblah.txt" }} kind = {{ stdout = "blahblah.txt" }}

View File

@ -43,7 +43,7 @@ def set_up_simple_datman(
with path.joinpath("datman.toml").open("a") as file: with path.joinpath("datman.toml").open("a") as file:
file.write( file.write(
f""" f"""
[source.srca] [sources.srca]
directory = "{path.joinpath("srca")}" directory = "{path.joinpath("srca")}"
hostname = "{get_hostname()}" hostname = "{get_hostname()}"
""" """