=== jamesh_ is now known as jamesh [10:46] wgrant: traversal> turns out if I stop issuing pointless redirections then I don't get into a redirect loop. amazing [10:48] cjwatson: Mysterious. [10:51] * cjwatson wonders what subset of pending_builds/completed_builds/builds/last_build from sourcepackagerecipe is useful here [10:52] maybe I just want builds and last_completed_build and I can add anything else as needed later [10:53] That sounds sensible. [13:47] How to run "view smoke test" story selectively ? [13:48] i want to execute ./lib/lp/services/oauth/stories/request-token.txt for example [13:58] ./bin/test -vvct request-token [13:58] worked [13:58] \o/ [14:09] 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] Oh. Maybe ws_object isn't actually re-fetching the object [14:23] 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] 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] 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] Heh [14:38] You mostly just have to logout() before using any of the webservice object's methods. [14:38] Yeah, and extract everything you need first [14:39] I'll try the conversion again later [14:39] webservice_for_person does the logout, IIRC, then I normally use 'with admin_logged_in()' to pull stuff out later. [14:40] 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 === igitoor_ is now known as igitoor