@@ -1,7 +1,7 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3# Unity Indicators Autopilot Test Suite
3# Unity Indicators Autopilot Test Suite
4−# Copyright (C) 2013, 2014 Canonical
4+# Copyright (C) 2013, 2014, 2015 Canonical
6# This program is free software: you can redistribute it and/or modify
6# This program is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
7# it under the terms of the GNU General Public License as published by
@@ -22,11 +22,10 @@ from testscenarios import multiply_scenarios
23from autopilot import platform
23from autopilot import platform
25−from unity8 import indicators
25+from unity8 import indicators, fixture_setup
26from unity8.process_helpers import unlock_unity
26from unity8.process_helpers import unlock_unity
27from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
27from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
29−from unity8.indicators import fixture_setup as indicators_fixtures
31class IndicatorTestCase(UnityTestCase):
30class IndicatorTestCase(UnityTestCase):
@@ -113,7 +112,7 @@ class DisplayIndicatorTestCase(IndicatorTestCase):
113 def test(self):
112 def test(self):
114 display_indicator = indicators.DisplayIndicator(self.main_window)
113 display_indicator = indicators.DisplayIndicator(self.main_window)
115 display_indicator_page = display_indicator.open()
114 display_indicator_page = display_indicator.open()
116− fixture = indicators_fixtures.IndicatorDisplayRotationLock(False)
115+ fixture = fixture_setup.IndicatorDisplayRotationLock(False)
118 display_indicator_page.unlock_rotation()
117 display_indicator_page.unlock_rotation()
119 self.assertEqual(fixture._is_rotation_lock_enabled(), False)
118 self.assertEqual(fixture._is_rotation_lock_enabled(), False)