[Merge] lp:~abreu-alexandre/webbrowser-app/user-agent-override-fails into lp:webbrowser-app

Alexandre Abreu alexandre.abreu at canonical.com
Tue Dec 2 17:16:19 UTC 2014


> 130     +        result = 'MyUserAgent MyUserAgent - Ubuntu Web Browser'
> 131     +        self.assertThat(self.get_webcontainer_window().title,
> 132     +                        Eventually(Equals(result)))
> 
> The above won’t work: on my system (with a French locale), the "Ubuntu Web
> Browser" part of the title is localized, so you will need to do something like
> what is done there: http://bazaar.launchpad.net/~phablet-team/webbrowser-
> app/trunk/view/head:/tests/autopilot/webbrowser_app/tests/test_title.py.

updated
-- 
https://code.launchpad.net/~abreu-alexandre/webbrowser-app/user-agent-override-fails/+merge/243286
Your team Ubuntu Phablet Team is subscribed to branch lp:webbrowser-app.



More information about the Ubuntu-reviews mailing list