@@ -56,7 +56,9 @@ def test_radio_configure_channel(radio_obj):
56
56
assert radio_obj ._channel == 7 # pylint: disable=protected-access
57
57
58
58
59
- def test_radio_configure_channel_out_of_bounds (radio_obj ):
59
+ def test_radio_configure_channel_out_of_bounds (
60
+ radio_obj ,
61
+ ): # pylint: disable=invalid-name
60
62
"""
61
63
If a channel not in the range 0-255 is passed into the configure method,
62
64
then a ValueError exception is raised.
@@ -135,7 +137,7 @@ def test_radio_receive(radio_obj):
135
137
assert radio_obj .receive () == "testing 1, 2, 3"
136
138
137
139
138
- def test_radio_receive_full_no_messages (radio_obj ):
140
+ def test_radio_receive_full_no_messages (radio_obj ): # pylint: disable=invalid-name
139
141
"""
140
142
If no messages are detected by receive_full then it returns None.
141
143
"""
@@ -150,7 +152,9 @@ def test_radio_receive_full_no_messages(radio_obj):
150
152
radio_obj .ble .stop_scan .assert_called_once_with ()
151
153
152
154
153
- def test_radio_receive_full_duplicate_message (radio_obj ):
155
+ def test_radio_receive_full_duplicate_message (
156
+ radio_obj ,
157
+ ): # pylint: disable=invalid-name
154
158
"""
155
159
If a duplicate message is detected, then receive_full returns None
156
160
(indicating no *new* messages received).
@@ -164,7 +168,9 @@ def test_radio_receive_full_duplicate_message(radio_obj):
164
168
assert radio_obj .receive_full () is None
165
169
166
170
167
- def test_radio_receive_full_and_remove_expired_message_metadata (radio_obj ):
171
+ def test_radio_receive_full_and_remove_expired_message_metadata (
172
+ radio_obj ,
173
+ ): # pylint: disable=invalid-name
168
174
"""
169
175
Return the non-duplicate message.
170
176
0 commit comments