예제 #1
0
 def setUp(self):
     UI.init()
예제 #2
0
 def test_key(self):
     print "Button test. Press the 'up' key!"
     for i in range(0,10):
         print UI.isPressed(0)
         time.sleep(1)
예제 #3
0
 def tearDown(self):
     UI.close()
예제 #4
0
 def test_setLed(self):
     for i in range(1,10):
         UI.setLed(i)
         time.sleep(1)
     UI.setLed(0)