We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c3abd commit bcb4637Copy full SHA for bcb4637
tests/test_adafruit_radio.py
@@ -119,15 +119,14 @@ def test_radio_send_bytes(radio_obj):
119
assert radio_obj.uid == 0
120
121
122
-@pytest.mark.xfail(reason="Test should be checked and possibly updated")
123
def test_radio_receive_no_message(radio_obj):
124
"""
125
If no message is received from the receive_bytes method, then None is
126
returned.
127
128
radio_obj.receive_full = mock.MagicMock(return_value=None)
129
assert radio_obj.receive() is None
130
- radio_obj.receive_full.assert_called_once_with()
+ radio_obj.receive_full.assert_called_once_with(timeout=1.0)
131
132
133
def test_radio_receive(radio_obj):
0 commit comments