From 9b8ab8bd0a0d59d54653e84764f798c3be90df73 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 14 Nov 2021 07:01:10 +0000 Subject: [PATCH] Rename source to sources in test suite --- testsuite/datmantests/test_backup_and_extract.py | 6 +++--- testsuite/helpers/datman_helpers.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testsuite/datmantests/test_backup_and_extract.py b/testsuite/datmantests/test_backup_and_extract.py index c745b7d..10238a6 100644 --- a/testsuite/datmantests/test_backup_and_extract.py +++ b/testsuite/datmantests/test_backup_and_extract.py @@ -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" }} diff --git a/testsuite/helpers/datman_helpers.py b/testsuite/helpers/datman_helpers.py index bbf95d6..cf1f642 100644 --- a/testsuite/helpers/datman_helpers.py +++ b/testsuite/helpers/datman_helpers.py @@ -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()}" """