Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve log messages and make discover_as optional #2

Merged
merged 3 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 6 additions & 2 deletions RobotmkLibrary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"'
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
packages = [
Expand Down