Ejemplo n.º 1
0
 def setUp(self):
     UI.init()
Ejemplo n.º 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)
Ejemplo n.º 3
0
 def tearDown(self):
     UI.close()
Ejemplo n.º 4
0
 def test_setLed(self):
     for i in range(1,10):
         UI.setLed(i)
         time.sleep(1)
     UI.setLed(0)