Open Snooz82 opened 1 month ago
In RF 7 the interface of TestLibrary has changed.
TestLibrary
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
The following pull request fixes the issue: https://github.com/mkorpela/pabot/pull/600
In RF 7 the interface of
TestLibrary
has changed.causes:
It has changed from a factory method to a class... Ping @pekkaklarck