Skip to content

Commit b580d2f

Browse files
committed
flake8
1 parent 01aa562 commit b580d2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_disable_discovery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ async def test_aio_driver_discovery_enabled_mock(driver_config_enabled_discovery
252252
try:
253253
# Check that the discovery class was instantiated
254254
mocks["mock_discovery_class"].assert_called_once()
255+
assert driver is not None # Use the driver variable to avoid F841
255256
finally:
256257
# The stop method is already mocked, so we don't need to await it
257258
pass

0 commit comments

Comments
 (0)