[Merge] lp:~abreu-alexandre/webbrowser-app/add-ap-tests-for-navigation-and-popup into lp:webbrowser-app
Olivier Tilloy
olivier.tilloy at canonical.com
Thu Jul 10 06:05:48 UTC 2014
445 + self.assertThat(lambda: webview.url,
446 + Eventually(Contains("/href-link")))
In case like this where comparing the value of a property on an object, the use of a lambda is superfluous, i.e. this will work:
self.assertThat(webview.url, Eventually(Contains("/href-link")))
There are a number of places in the new tests that can be simplified.
--
https://code.launchpad.net/~abreu-alexandre/webbrowser-app/add-ap-tests-for-navigation-and-popup/+merge/217811
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~abreu-alexandre/webbrowser-app/add-ap-tests-for-navigation-and-popup into lp:webbrowser-app.
More information about the Ubuntu-reviews
mailing list