Your class_method
doesn’t have the self
argument that methods in Python must have.
To import a library without the extension, it needs to in the Python module search path. That happens automatically if the library is installed but you can also set PYTHONPATH
environment variable or use --pythonpath
with the robot
command.