Skip to content

Conversation

@Blashaq
Copy link

@Blashaq Blashaq commented Sep 9, 2024

RobotFramework allows to specify folder-wide initialization file __init__robot.
Sadly listener API does not pass this file to the start_keyword listener method- instead giving only directory path.
This causes RF-debuglibrary to crash inside __init__.robot files.

This PR fixes this by checking if the path is actually a file- if not, verify if there is indeed an __init__ file in this directory. If it is the case, assume that we are inside this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant