Merge lp:~osomon/webbrowser-app/rtm-fix-flaky-container-test into lp:webbrowser-app/rtm-14.09

Proposed by Olivier Tilloy on 2015-03-30
Status: Merged
Approved by: Olivier Tilloy on 2015-03-30
Approved revision: 792
Merged at revision: 792
Proposed branch: lp:~osomon/webbrowser-app/rtm-fix-flaky-container-test
Merge into: lp:webbrowser-app/rtm-14.09
Diff against target: 19 lines (+2/-2)
1 file modified
tests/autopilot/webapp_container/tests/test_url_patterns.py (+2/-2)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/rtm-fix-flaky-container-test
Reviewer Review Type Date Requested Status
Alexandre Abreu (community) 2015-03-30 Approve on 2015-03-30
Review via email: mp+254535@code.launchpad.net

Commit message

Fix a flaky autopilot test.

To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/webapp_container/tests/test_url_patterns.py'
2--- tests/autopilot/webapp_container/tests/test_url_patterns.py 2015-01-19 10:00:13 +0000
3+++ tests/autopilot/webapp_container/tests/test_url_patterns.py 2015-03-30 06:35:58 +0000
4@@ -1,5 +1,5 @@
5 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
6-# Copyright 2014 Canonical
7+# Copyright 2014-2015 Canonical
8 #
9 # This program is free software: you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License version 3, as published
11@@ -64,7 +64,7 @@
12
13 self.assertThat(
14 webview.url,
15- Equals("http://www.test.com/"))
16+ Eventually(Equals("http://www.test.com/")))
17
18 self.assertThat(
19 external_open_watcher.was_emitted,

Subscribers

People subscribed via source and target branches