[02:03] <cwayne_> thomi, hiya, is there a way to specify which dir autopilot run looks in for tests? or is it always just cwd?
[02:04] <veebers> cwayne_: you can pass autopilot either a python module (that's local or exists in PYTHONPATH) or give it a path itself
[02:05] <veebers> As long as the path is importable
[02:05] <cwayne_> veebers, so just 'autopilot3 run /path/to/my/tests' as long as tests/ has an __init___.py?
[02:06] <veebers> cwayne_: should work, just double checking now as I now recall there was a catch of some sort :-)
[02:07] <cwayne_> hm, didn't seem to work :/
[02:07] <veebers> cwayne_: hmm, I may have lied to you
[02:08] <cwayne_> :(
[02:08] <veebers> cwayne_: yeah sorry doesn't work for me, I have miss-remembered how that works :-\
[02:09] <cwayne_> yeah, it tries to load it from 1 dir below for some reason
[02:09] <cwayne_> so i guess i'd have to hack together a script to cd to the right dir first..
[02:10] <cwayne_> seems like a good feature request though :)
[02:14] <veebers> cwayne_: sorry connection issues. Can I ask what you're attempting there should be a way to do it
[02:16] <cwayne_> veebers, calling autopilot run from checkbox-touch
[02:19] <veebers> cwayne_: this works for me (uses the trunk copy not dist): PYTHONPATH=~/code/touch-apps/camera-app/trunk/tests/autopilot python3 -m autopilot.run list camera_app
[02:20] <veebers> where tests/autopilot/ contains a dir 'camera_app' that is importable (with __init__.py)
[02:21] <cwayne_> veebers, problem is i kinda have to do some hackery already with pythonpath, since checkbox-touch is a click package
[02:22] <veebers> cwayne_: ah right. Man, I could have sworn that we had made it so you could just give autopilot a path to use.
[02:23] <cwayne_> it seems like it should be that way i'd think
[02:43] <veebers> cwayne_: yeah totally a bug. Well I can see where it goes wrong, not sure of a fix yet but I'll file a but anyway
[02:43] <cwayne_> veebers, thanks!
[02:44] <veebers> cwayne_: can you give us an idea of priority so that we can put that card on our backlog?
[02:47] <cwayne_> veebers, probably lowish, I think I can just cd to a different dir in a bash script for now
[02:48] <veebers> cwayne_: ack thanks. Bug filed will put it on our backlog as I imagine you're not the only one that would like to run from a path (https://bugs.launchpad.net/autopilot/+bug/1470307)
[02:55] <cwayne_> veebers, thanks man