[00:52] afternoon [00:56] Afternoon. [19:44] morning [19:57] morning [20:20] morning [20:20] shucks, I never said morning yesterday! [20:20] * chilts <- bad person [20:24] it was tough, but we survived without you doing your bit [20:26] morning [20:28] ojwb: heh, good job everyone :) [20:34] morning [20:51] morning [22:00] lifeless: got a second? [22:19] sure [22:25] 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] 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] (what question are you trying to answer, and why?) [22:29] lifeless: I meant the latter. The problem we're trying to solve is: [22:30] 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] 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] so we need a way of knowing if we should call 'discover(name)' or 'loadTestsFromName(name)' [22:31] oh [22:31] does that make sense? [22:31] so, if I may suggest [22:31] you're turned around backwards [22:31] oh? [22:31] you want a UI for letting the user select tests to run, as a user of the system. [22:32] This is distinct from telling the system how to instantiate tests. [22:32] discover and loadTestsFromName have quite different behaviour, you will have less friction if you pick one and stick with it. [22:32] I see. so maybe we use discover, get all the tests and filter them ourselves [22:33] indeed [22:33] awesome. That makes sense [22:33] thanks :) [22:33] thats what e.g. bzr selftest does (with some glue to optimise the time to instantiate tests - but it has 20K tests) [22:33] ahh, I see [22:33] BTW, meet veebers (new QA engineer in Dunedin and on the PyCon conference committee) [22:34] o/ [22:34] Hi lifeless :) [22:34] you lost an arm! [22:34] /o\ [22:34] veebers: you finally decided to lurk in here? :) [22:36] ajmitch: heya. yeah, I just think I need to increase my lurk-ness :) [22:37] just remember to say 'morning' each day [22:39] right, noted. [22:39] morning all [23:23] morning