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

pabot.Shared #598

Open
Snooz82 opened this issue Oct 6, 2024 · 1 comment
Open

pabot.Shared #598

Snooz82 opened this issue Oct 6, 2024 · 1 comment

Comments

@Snooz82
Copy link

Snooz82 commented Oct 6, 2024

In RF 7 the interface of TestLibrary has changed.

Library             pabot.SharedLibrary    Process

causes:

[ ERROR ] Error in file '***' on line 2: Initializing library 'pabot.SharedLibrary' with arguments [ Process ] failed: TypeError: TestLibrary.__init__() got an unexpected keyword argument 'args'
Traceback (most recent call last):
  File "***/.venv/lib/python3.12/site-packages/pabot/SharedLibrary.py", line 27, in __init__
    self._lib = RemoteLibraryFactory(TestLibrary(name, args=args).get_instance())
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: TestLibrary.__init__() got an unexpected keyword argument 'args'

It has changed from a factory method to a class...
Ping @pekkaklarck

olesz pushed a commit to olesz/pabot that referenced this issue Nov 7, 2024
@olesz
Copy link

olesz commented Nov 7, 2024

The following pull request fixes the issue: #600

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

No branches or pull requests

2 participants