Ubuntu Pastebin

Paste from veebers at Fri, 23 Jan 2015 00:16:22 +0000

Download as text
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
        )
Download as text