pabot
pabot copied to clipboard
pabot.SharedLibrary ignores paths used with --pythonpath
Hi, I have structure like
- tests -- suite1 -- suite2
- my_resources -- resource1 -- resource2
I use in pabot command --pythonpath my_resources
and after that I'm able to do
Library resource1
for example.
But the Library pabot.SharedLibrary resource1
doesn't work because this method looks just into system python paths like /usr/local/lib/python3.7/.
What is the easiest fix in my case? I can't install / move this resource globally.
Thank you!
Thanks for the issue report!
I think you might bypass this limitation by adding your my_resources to PYTHONPATH environment variable.
If it's more complex to fix I'm ok with that solution ;) maybe it can be mentioned in the documentation?