Skip to content

Commit 6d2b8ad

Browse files
committed
fix: mock gpiozero in test_default_constants_no_raise to fix CI failure
1 parent 4734d75 commit 6d2b8ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_actuators/test_brushed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def test_degrees_radians_roundtrip():
6666

6767

6868
# Construction / configuration
69-
def test_default_constants_no_raise():
70-
actuator = MaxonActuator()
69+
def test_default_constants_no_raise(mock_gpio):
70+
actuator = MaxonActuator(motor_constants=VALID_MOTOR_CONSTANTS)
7171
assert actuator is not None
7272

7373

0 commit comments

Comments
 (0)