Skip to content

Commit

Permalink
Remove TalonFX from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Nov 2, 2024
1 parent 2b70f6c commit 697c471
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/test_ctre.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ def test_wpi_talonsrx():
del m


def test_wpi_talonfx():
m = phoenix5.WPI_TalonFX(1)
m.setNeutralMode(phoenix5.NeutralMode.Brake)
m.set(0.5)
assert m.get() == 0.5
del m


def test_wpi_victorspx():
m = phoenix5.WPI_VictorSPX(2)
m.setNeutralMode(phoenix5.NeutralMode.Brake)
Expand All @@ -26,8 +18,8 @@ def test_wpi_victorspx():


def test_follow():
m1 = phoenix5.WPI_TalonFX(3)
m2 = phoenix5.WPI_TalonFX(4)
m1 = phoenix5.WPI_TalonSRX(3)
m2 = phoenix5.WPI_VictorSPX(4)
m2.follow(m1)
m1.set(0.5)
assert m1.get() == 0.5

0 comments on commit 697c471

Please sign in to comment.