Rename source to sources in test suite
This commit is contained in:
parent
78196b4ca3
commit
9b8ab8bd0a
|
@ -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" }}
|
||||||
|
|
|
@ -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()}"
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue