[00:52] <thumper> afternoon
[00:56] <kcj> Afternoon.
[19:44] <ibeardslee> morning
[19:57] <ojwb> morning
[20:20] <chilts> morning
[20:20] <chilts> shucks, I never said morning yesterday!
[20:20]  * chilts <- bad person
[20:24] <ojwb> it was tough, but we survived without you doing your bit
[20:26] <Atamira> morning
[20:28] <chilts> ojwb: heh, good job everyone :)
[20:34] <ajmitch> morning
[20:51] <thumper> morning
[22:00] <thomi> lifeless: got a second?
[22:19] <lifeless> sure
[22:25] <thomi> lifeless: given a python dotted string like "foo.bar.baz", is there a way to tell if that refers to a python module or a python package?
[22:27] <lifeless> do you mean 'refers to (a python module or a python package)' or 'refers to (a pytohn module) or refers to (a python package)' ?
[22:28] <lifeless> (what question are you trying to answer, and why?)
[22:29] <thomi> lifeless: I meant the latter. The problem we're trying to solve is:
[22:30] <thomi> we'd like users to be able to run one or more autopilot tests by specifying a string of varying exact-ness. They might specify an entire test id (i.e.- right up to, and including the actual test classmethod), or they might specify just a test case class, a test module, or perhaps just a package that contains several test modules.
[22:31] <thomi> testools test loader has twho methods for loading tests: discover (which takes a package name), and loadTestsFromName (which takes a module, class, of function name)
[22:31] <thomi> so we need a way of knowing if we should call 'discover(name)' or 'loadTestsFromName(name)'
[22:31] <lifeless> oh
[22:31] <thomi> does that make sense?
[22:31] <lifeless> so, if I may suggest
[22:31] <lifeless> you're turned around backwards
[22:31] <thomi> oh?
[22:31] <lifeless> you want a UI for letting the user select tests to run, as a user of the system.
[22:32] <lifeless> This is distinct from telling the system how to instantiate tests.
[22:32] <lifeless> discover and loadTestsFromName have quite different behaviour, you will have less friction if you pick one and stick with it.
[22:32] <thomi> I see. so maybe we use discover, get all the tests and filter them ourselves
[22:33] <lifeless> indeed
[22:33] <thomi> awesome. That makes sense
[22:33] <thomi> thanks :)
[22:33] <lifeless> thats what e.g. bzr selftest does (with some glue to optimise the time to instantiate tests - but it has 20K tests)
[22:33] <thomi> ahh, I see
[22:33] <thomi> BTW, meet veebers (new QA engineer in Dunedin and on the PyCon conference committee)
[22:34] <lifeless> o/
[22:34] <veebers> Hi lifeless :)
[22:34] <thomi> you lost an arm!
[22:34] <thomi>  /o\
[22:34] <ajmitch> veebers: you finally decided to lurk in here? :)
[22:36] <veebers> ajmitch: heya. yeah, I just think I need to increase my lurk-ness :)
[22:37] <ajmitch> just remember to say 'morning' each day
[22:39] <veebers> right, noted.
[22:39] <veebers> morning all
[23:23] <mwhudson_> morning