From e561222ea70045bef48443c795c6d66cf30864ee Mon Sep 17 00:00:00 2001 From: Derek Arnold Date: Sun, 15 Sep 2024 16:06:44 -0500 Subject: [PATCH] add docstrings --- meshtastic/tests/test_node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshtastic/tests/test_node.py b/meshtastic/tests/test_node.py index 668fd4d..61ab84a 100644 --- a/meshtastic/tests/test_node.py +++ b/meshtastic/tests/test_node.py @@ -844,6 +844,7 @@ def test_requestChannel_localNode(caplog): @pytest.mark.unit def test_requestChannels_non_localNode(caplog): + """Test requestChannels() with a starting index of 0""" iface = MagicMock(autospec=SerialInterface) with patch("meshtastic.serial_interface.SerialInterface", return_value=iface) as mo: mo.localNode.getChannelByName.return_value = None @@ -857,6 +858,7 @@ def test_requestChannels_non_localNode(caplog): @pytest.mark.unit def test_requestChannels_non_localNode_starting_index(caplog): + """Test requestChannels() with a starting index of non-0""" iface = MagicMock(autospec=SerialInterface) with patch("meshtastic.serial_interface.SerialInterface", return_value=iface) as mo: mo.localNode.getChannelByName.return_value = None