Skip to content

Commit bcb4637

Browse files
committed
Add default argument
1 parent 06c3abd commit bcb4637

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_adafruit_radio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,14 @@ def test_radio_send_bytes(radio_obj):
119119
assert radio_obj.uid == 0
120120

121121

122-
@pytest.mark.xfail(reason="Test should be checked and possibly updated")
123122
def test_radio_receive_no_message(radio_obj):
124123
"""
125124
If no message is received from the receive_bytes method, then None is
126125
returned.
127126
"""
128127
radio_obj.receive_full = mock.MagicMock(return_value=None)
129128
assert radio_obj.receive() is None
130-
radio_obj.receive_full.assert_called_once_with()
129+
radio_obj.receive_full.assert_called_once_with(timeout=1.0)
131130

132131

133132
def test_radio_receive(radio_obj):

0 commit comments

Comments
 (0)