launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #05214
Re: parallel testing progress #2 - back broken, time for us all to pitch in and help.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/18/2010 09:31 AM, Ian Booth wrote:
> So, for example, stuff like:
>
> browser.open('http://launchpad.dev:8085/~stimpy')
>
> is verboten. Instead, there's an api to get the root url to use, eg:
>
> root_url = getRootLaunchpadUrl()
> browser.open('%s/~stimpy' % root_url)
However, if you have access to the stimpy object, there is an easier and
more robust way of doing this:
browser = self.getViewBrowser(stimpy)
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAky8UCEACgkQ0F+nu1YWqI2cCQCcDdKsHkiefppPWVt5KePOdDLq
BNwAnRVSwT00D4TKr3LrTOusUDGx9OmU
=6cNv
-----END PGP SIGNATURE-----
Follow ups
References