1 2 3 4 5 6 7 8 9 | # This is a partial example showing the intended use of the supplied API # example. def test_changing_orientation(self): with Orientation() as orientation: orientation.set_orientation(OrientationState.LeftUp) self.assertEqual( self.unity_proxy.__orientationAngle, OrientationState.LeftUp.value ) |