From 7e9de18e2094d5c4a6aa1543a04347929e7feebe Mon Sep 17 00:00:00 2001 From: Joerg Herbel Date: Thu, 18 Jul 2024 17:20:13 +0200 Subject: [PATCH 1/3] Fix typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b10b05d..05d50b7 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -A keyword library for Robot Framework inteded to be used in combination with Robotmk. +A keyword library for Robot Framework intended to be used in combination with Robotmk. From 0ac6d7475ad031702706d8582bc0fcdded0c3b95 Mon Sep 17 00:00:00 2001 From: Joerg Herbel Date: Thu, 18 Jul 2024 17:23:37 +0200 Subject: [PATCH 2/3] Improve log messages and make `discover_as` optional CMK-18356 --- RobotmkLibrary/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/RobotmkLibrary/__init__.py b/RobotmkLibrary/__init__.py index 304bd55..be5dda7 100644 --- a/RobotmkLibrary/__init__.py +++ b/RobotmkLibrary/__init__.py @@ -4,6 +4,10 @@ def monitor_subsequent_keyword_runtime( # pylint: disable=missing-function-docstring *, - discover_as: str, + discover_as: str | None = None, ) -> None: - logging.info(discover_as) + logging.info( + "The subsequent keyword will be discovered in Checkmk using its own name" + if discover_as is None + else f'The subsequent keyword will be discovered in Checkmk as: "{discover_as}"' + ) From 790ee86d72e35877908c7978aaad9cb750b478ce Mon Sep 17 00:00:00 2001 From: Joerg Herbel Date: Thu, 18 Jul 2024 17:24:21 +0200 Subject: [PATCH 3/3] Bump version to 0.0.2 CMK-18356 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9cb3bed..1d4e9b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "robotframework-robotmklibrary" -version = "0.0.1" +version = "0.0.2" description = "A Robot Framework keyword library intended to be used with Robotmk." authors = ["Jörg Herbel "] packages = [