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

Olivier Tilloy olivier.tilloy at canonical.com
Tue Dec 2 16:49:01 UTC 2014


Review: Needs Fixing

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.
-- 
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