File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616class TestAPI (unittest .TestCase ):
1717 def test_device (self ):
1818 clean_arena ()
19- populate_arena ({'medium_motor' : [0 ], 'infrared_sensor' : [0 ]})
19+ populate_arena ({'medium_motor' : [0 , 'outA' ], 'infrared_sensor' : [0 , 'in1' ]})
2020
2121 d = ev3 .Device ('tacho-motor' , 'motor*' )
2222 self .assertTrue (d .connected )
@@ -41,7 +41,7 @@ def dummy(self):
4141 pass
4242
4343 clean_arena ()
44- populate_arena ({'medium_motor' : [0 ]})
44+ populate_arena ({'medium_motor' : [0 , 'outA' ]})
4545
4646 # Do not write motor.command on exit (so that fake tree stays intact)
4747 ev3 .MediumMotor .__del__ = dummy
@@ -79,7 +79,7 @@ def dummy(self):
7979
8080 def test_infrared_sensor (self ):
8181 clean_arena ()
82- populate_arena ({'infrared_sensor' : [0 ]})
82+ populate_arena ({'infrared_sensor' : [0 , 'in1' ]})
8383
8484 s = ev3 .InfraredSensor ()
8585
You can’t perform that action at this time.
0 commit comments