Skip to content

Commit

Permalink
Fix robotDrive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Feb 17, 2016
1 parent 6b6adb8 commit 95ad26b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wpilib/tests/test_robotdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,13 @@ def test_getDescription(drive_lr):

def test_stopMotor(drive_lr):
drive_lr.stopMotor()
drive_lr.rearLeftMotor.set.assert_called_once_with(0.0)
drive_lr.rearRightMotor.set.assert_called_once_with(0.0)
drive_lr.rearLeftMotor.stopMotor.assert_called_once_with()
drive_lr.rearRightMotor.stopMotor.assert_called_once_with()

def test_stopMotor_4(drive4):
drive4.stopMotor()
drive4.frontLeftMotor.set.assert_called_once_with(0.0)
drive4.frontRightMotor.set.assert_called_once_with(0.0)
drive4.rearLeftMotor.set.assert_called_once_with(0.0)
drive4.rearRightMotor.set.assert_called_once_with(0.0)
drive4.frontLeftMotor.stopMotor.assert_called_once_with()
drive4.frontRightMotor.stopMotor.assert_called_once_with()
drive4.rearLeftMotor.stopMotor.assert_called_once_with()
drive4.rearRightMotor.stopMotor.assert_called_once_with()

0 comments on commit 95ad26b

Please sign in to comment.