From dce2ed8282e5b3cc47b5be40142ae120707ee10d Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 6 Nov 2021 20:04:11 +0100 Subject: [PATCH] add an assignee to the settings --- tests/test_settings.py | 3 ++- todoist_interface.yml.example | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_settings.py b/tests/test_settings.py index 18a6e76..f8e4118 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -5,4 +5,5 @@ def test_settings(): config = settings.read_config("todoist_interface.yml.example") assert (config["gitlab"]["token"] == "gitlabtoken" and config["gitlab"]["url"] == "https://gitlab.example.com/api/v4/" - and config["todoist"]["token"] == "todoisttoken") + and config["todoist"]["token"] == "todoisttoken" + and config["gitlab"]["assignee"] == "muster") diff --git a/todoist_interface.yml.example b/todoist_interface.yml.example index 2e0aac9..46ce1cb 100644 --- a/todoist_interface.yml.example +++ b/todoist_interface.yml.example @@ -1,6 +1,7 @@ gitlab: url: "https://gitlab.example.com/api/v4/" token: "gitlabtoken" + assignee: "muster" todoist: token: "todoisttoken"