Skip to content

Commit

Permalink
jedi: Update tests for stalled, done.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Dec 2, 2022
1 parent 8fb9afb commit 15dbfb0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jedi/tests/test_get_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ def _get_method_signature(module: str, type: str, method: str) -> SignatureHelp:
],
),
pytest.param("pybricks.pupdevices", "Motor", "dc", [(["duty: Number"], "None")]),
pytest.param("pybricks.pupdevices", "Motor", "control.done", [([], "bool")]),
pytest.param("pybricks.pupdevices", "Motor", "control.stalled", [([], "bool")]),
pytest.param("pybricks.pupdevices", "Motor", "control.load", [([], "int")]),
pytest.param("pybricks.pupdevices", "Motor", "done", [([], "bool")]),
pytest.param("pybricks.pupdevices", "Motor", "stalled", [([], "bool")]),
pytest.param("pybricks.pupdevices", "Motor", "load", [([], "int")]),
pytest.param(
"pybricks.pupdevices",
"Motor",
Expand Down Expand Up @@ -853,6 +853,8 @@ def _get_method_signature(module: str, type: str, method: str) -> SignatureHelp:
"pybricks.robotics", "DriveBase", "state", [([], "Tuple[int, int, int, int]")]
),
pytest.param("pybricks.robotics", "DriveBase", "reset", [([], "None")]),
pytest.param("pybricks.robotics", "DriveBase", "done", [([], "bool")]),
pytest.param("pybricks.robotics", "DriveBase", "stalled", [([], "bool")]),
]


Expand Down

0 comments on commit 15dbfb0

Please sign in to comment.