Skip to content

Commit 82340c3

Browse files
committed
jedi: Update tests for stalled, done.
1 parent 14a4fc0 commit 82340c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jedi/tests/test_get_signature.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ def _get_method_signature(module: str, type: str, method: str) -> SignatureHelp:
602602
],
603603
),
604604
pytest.param("pybricks.pupdevices", "Motor", "dc", [(["duty: Number"], "None")]),
605-
pytest.param("pybricks.pupdevices", "Motor", "control.done", [([], "bool")]),
606-
pytest.param("pybricks.pupdevices", "Motor", "control.stalled", [([], "bool")]),
607-
pytest.param("pybricks.pupdevices", "Motor", "control.load", [([], "int")]),
605+
pytest.param("pybricks.pupdevices", "Motor", "done", [([], "bool")]),
606+
pytest.param("pybricks.pupdevices", "Motor", "stalled", [([], "bool")]),
607+
pytest.param("pybricks.pupdevices", "Motor", "load", [([], "int")]),
608608
pytest.param(
609609
"pybricks.pupdevices",
610610
"Motor",
@@ -853,6 +853,8 @@ def _get_method_signature(module: str, type: str, method: str) -> SignatureHelp:
853853
"pybricks.robotics", "DriveBase", "state", [([], "Tuple[int, int, int, int]")]
854854
),
855855
pytest.param("pybricks.robotics", "DriveBase", "reset", [([], "None")]),
856+
pytest.param("pybricks.robotics", "DriveBase", "done", [([], "bool")]),
857+
pytest.param("pybricks.robotics", "DriveBase", "stalled", [([], "bool")]),
856858
]
857859

858860

0 commit comments

Comments
 (0)