Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
pawlizio committed Nov 30, 2023
1 parent 26d5da0 commit be4d7f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/opening_device_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class TestOpeningDevice(IsolatedAsyncioTestCase):
@patch("pyvlx.api.CommandSend.send", new_callable=AsyncMock)
@patch("pyvlx.Node.after_update", new_callable=AsyncMock)
async def test_set_position(self, commandSend: AsyncMock, afterUpdate: AsyncMock) -> None:
"""Test set_position of OpeningDevice object."""
test_device = OpeningDevice(pyvlx="PyVLX", node_id=23, name="Test device", serial_number=None)
await test_device.set_position(position=Position(position_percent=100))
assert commandSend.called
Expand Down

0 comments on commit be4d7f1

Please sign in to comment.