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(
|
||||
datman_path,
|
||||
f"""
|
||||
[source.srcimpossible]
|
||||
[sources.srcimpossible]
|
||||
directory = "/path/to/absolutely/nowhere"
|
||||
hostname = "{get_hostname()}"
|
||||
|
||||
[source.srcimpossible2]
|
||||
[sources.srcimpossible2]
|
||||
directory = "/path/to/absolutely/nowhere"
|
||||
hostname = "notmymachine"
|
||||
|
||||
[source.srcimpossible3]
|
||||
[sources.srcimpossible3]
|
||||
helper = "failedhelper"
|
||||
label = "precious"
|
||||
kind = {{ stdout = "blahblah.txt" }}
|
||||
|
|
|
@ -43,7 +43,7 @@ def set_up_simple_datman(
|
|||
with path.joinpath("datman.toml").open("a") as file:
|
||||
file.write(
|
||||
f"""
|
||||
[source.srca]
|
||||
[sources.srca]
|
||||
directory = "{path.joinpath("srca")}"
|
||||
hostname = "{get_hostname()}"
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue