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 01aa562 commit b580d2fCopy full SHA for b580d2f
tests/test_disable_discovery.py
@@ -252,6 +252,7 @@ async def test_aio_driver_discovery_enabled_mock(driver_config_enabled_discovery
252
try:
253
# Check that the discovery class was instantiated
254
mocks["mock_discovery_class"].assert_called_once()
255
+ assert driver is not None # Use the driver variable to avoid F841
256
finally:
257
# The stop method is already mocked, so we don't need to await it
258
pass
0 commit comments