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

Proposed by Nicholas Skaggs
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 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
=== modified file 'tests/autopilot/ubuntu_weather_app/tests/test_mainview.py'
--- tests/autopilot/ubuntu_weather_app/tests/test_mainview.py 2013-08-12 18:34:13 +0000
+++ tests/autopilot/ubuntu_weather_app/tests/test_mainview.py 2013-08-13 04:57:47 +0000
@@ -14,6 +14,8 @@
14from testtools.matchers import NotEquals, Equals14from testtools.matchers import NotEquals, Equals
15from autopilot.matchers import Eventually15from autopilot.matchers import Eventually
1616
17import unittest
18
17from ubuntu_weather_app.tests import WeatherTestCase, DatabaseMixin19from ubuntu_weather_app.tests import WeatherTestCase, DatabaseMixin
18from ubuntu_weather_app.tests.weatherdata import locations_data20from ubuntu_weather_app.tests.weatherdata import locations_data
1921
@@ -33,9 +35,11 @@
33 def tearDown(self):35 def tearDown(self):
34 super(TestMainView, self).tearDown()36 super(TestMainView, self).tearDown()
3537
38 @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")
36 def test_switch_tabs(self):39 def test_switch_tabs(self):
37 """Test start of app with two locations and switch from first to40 """Test start of app with two locations and switch from first to
38 second tab"""41 second tab"""
42
39 # first tab should be visible after start43 # first tab should be visible after start
40 tabs = self.main_window.get_tabs()44 tabs = self.main_window.get_tabs()
41 tabObjects = self.main_window.get_objects('LocationTab','LocationTab')45 tabObjects = self.main_window.get_objects('LocationTab','LocationTab')

Subscribers

People subscribed via source and target branches