=== modified file 'tests/autopilot/unity8/shell/tests/test_rotation.py'
--- tests/autopilot/unity8/shell/tests/test_rotation.py 2015-04-16 12:11:17 +0000
+++ tests/autopilot/unity8/shell/tests/test_rotation.py 2015-04-16 14:09:28 +0000
@@ -48,10 +48,8 @@
self._data_dirs_mock_enabled = False
def _assert_change_of_orientation_and_angle(self):
- tmp_o = self.shell_proxy.orientation
- tmp_a = self.shell_proxy.orientationAngle
- self.assertThat(self.orientation, Equals(tmp_o))
- self.assertThat(self.angle, Equals(tmp_a))
+ self.assertThat(self.shell_proxy.orientation, Eventually(Equals(self.orientation)))
+ self.assertThat(self.shell_proxy.orientationAngle, Eventually(Equals(self.angle)))
def test_fake_sensor(self):
unity_with_sensors = fixture_setup.LaunchUnityWithFakeSensors()