@@ -66,14 +66,14 @@ class LaunchDashApp(fixtures.Fixture):
66 process_helpers.stop_job('unity8-dash')
66 process_helpers.stop_job('unity8-dash')
69−class IndicatorDisplayRotationLock(fixtures.Fixture):
69+class DisplayRotationLock(fixtures.Fixture):
71 def __init__(self, enable):
71 def __init__(self, enable):
72− super().__init__()
72+ super(self, DisplayRotationLock).__init__()
73 self.enable = enable
73 self.enable = enable
75 def setUp(self):
75 def setUp(self):
76− super().setUp()
76+ super(self, DisplayRotationLock).setUp()
77 original_state = self._is_rotation_lock_enabled()
77 original_state = self._is_rotation_lock_enabled()
78 if self.enable != original_state:
78 if self.enable != original_state:
79 self.addCleanup(self._set_rotation_lock, original_state)
79 self.addCleanup(self._set_rotation_lock, original_state)