[10:46] <cjwatson> wgrant: traversal> turns out if I stop issuing pointless redirections then I don't get into a redirect loop.  amazing
[10:48] <wgrant> cjwatson: Mysterious.
[10:51]  * cjwatson wonders what subset of pending_builds/completed_builds/builds/last_build from sourcepackagerecipe is useful here
[10:52] <cjwatson> maybe I just want builds and last_completed_build and I can add anything else as needed later
[10:53] <wgrant> That sounds sensible.
[13:47] <xnox> How to run "view smoke test" story selectively ?
[13:48] <xnox> i want to execute ./lib/lp/services/oauth/stories/request-token.txt for example
[13:58] <xnox> ./bin/test -vvct request-token
[13:58] <xnox> worked
[13:58] <xnox> \o/
[14:09] <cjwatson> Urgh.  I have an AppServerLayer test where I need to change things directly in the database and then make a webservice request.  I'm calling transaction.commit(), but that doesn't appear to be enough for the webservice side to pick up the database changes.  Is there something else I need to flush?
[14:21] <cjwatson> Oh.  Maybe ws_object isn't actually re-fetching the object
[14:23] <cjwatson> aha, it's failing to do so because traversing one of the links in the returned document isn't working.  Right, making sense now
[14:37] <wgrant> cjwatson: Is there a particular reason that you're using ws_object, which is launchpadlib-based and extraordinarily slow and awkward, rather than webservice_for_person, which is plain JSON, fast, and in-process?
[14:38] <cjwatson> Because I spent a couple of hours trying to convert it to webservice_for_person, got stuck in interaction hell, and decided it was more productive to at least get something that works
[14:38] <wgrant> Heh
[14:38] <wgrant> You mostly just have to logout() before using any of the webservice object's methods.
[14:38] <cjwatson> Yeah, and extract everything you need first
[14:39] <cjwatson> I'll try the conversion again later
[14:39] <wgrant> webservice_for_person does the logout, IIRC, then I normally use 'with admin_logged_in()' to pull stuff out later.
[14:40] <cjwatson> But I wanted to get on with making this batch of tests at least minimally work so that I can move on to the behaviour tests