Merge lp:~nskaggs/ubuntu-weather-app/disable-switch-tabs-test into lp:ubuntu-weather-app/obsolete.trunk

Proposed by Nicholas Skaggs on 2013-08-13
Status: Merged
Merged at revision: 92
Proposed branch: lp:~nskaggs/ubuntu-weather-app/disable-switch-tabs-test
Merge into: lp:ubuntu-weather-app/obsolete.trunk
Diff against target: 24 lines (+4/-0)
1 file modified
tests/autopilot/ubuntu_weather_app/tests/test_mainview.py (+4/-0)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-weather-app/disable-switch-tabs-test
Reviewer Review Type Date Requested Status
Ubuntu Weather Developers 2013-08-13 Pending
Review via email: mp+179844@code.launchpad.net

Commit message

Description of the change

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/ubuntu_weather_app/tests/test_mainview.py'
2--- tests/autopilot/ubuntu_weather_app/tests/test_mainview.py 2013-08-12 18:34:13 +0000
3+++ tests/autopilot/ubuntu_weather_app/tests/test_mainview.py 2013-08-13 04:57:47 +0000
4@@ -14,6 +14,8 @@
5 from testtools.matchers import NotEquals, Equals
6 from autopilot.matchers import Eventually
7
8+import unittest
9+
10 from ubuntu_weather_app.tests import WeatherTestCase, DatabaseMixin
11 from ubuntu_weather_app.tests.weatherdata import locations_data
12
13@@ -33,9 +35,11 @@
14 def tearDown(self):
15 super(TestMainView, self).tearDown()
16
17+ @unittest.skip("Tab switching is causing a loop, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1211619 and https://bugs.launchpad.net/ubuntu-weather-app/+bug/1211625")
18 def test_switch_tabs(self):
19 """Test start of app with two locations and switch from first to
20 second tab"""
21+
22 # first tab should be visible after start
23 tabs = self.main_window.get_tabs()
24 tabObjects = self.main_window.get_objects('LocationTab','LocationTab')

Subscribers

People subscribed via source and target branches