Skip to content

Commit 5e2ea8d

Browse files
authored
Fix coderbot motor tests
1 parent 642a73b commit 5e2ea8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/coderbot_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def test_motor_right(self):
5858
self.bot.left(speed=100, elapse=0.1)
5959

6060
def test_motor_move(self):
61-
self.bot.move(speed=100, elapse=0.1, steps=-1)
62-
self.bot.move(speed=-100, elapse=0.1, steps=-1)
61+
self.bot.move(speed=100, elapse=0.1)
62+
self.bot.move(speed=-100, elapse=0.1)
6363

6464
def test_motor_turn(self):
65-
self.bot.turn(speed=100, elapse=0.1, steps=-1)
66-
self.bot.turn(speed=-100, elapse=0.1, steps=-1)
65+
self.bot.turn(speed=100, elapse=0.1)
66+
self.bot.turn(speed=-100, elapse=0.1)
6767

6868

6969
class CoderBotSonarTestCase(unittest.TestCase):

0 commit comments

Comments
 (0)