mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Bump ruff to 0.9.1 (#135197)
This commit is contained in:
committed by
GitHub
parent
2b51ab1c75
commit
8db63adc11
@@ -412,7 +412,9 @@ def verify_cleanup(
|
||||
|
||||
try:
|
||||
# Verify respx.mock has been cleaned up
|
||||
assert not respx.mock.routes, "respx.mock routes not cleaned up, maybe the test needs to be decorated with @respx.mock"
|
||||
assert not respx.mock.routes, (
|
||||
"respx.mock routes not cleaned up, maybe the test needs to be decorated with @respx.mock"
|
||||
)
|
||||
finally:
|
||||
# Clear mock routes not break subsequent tests
|
||||
respx.mock.clear()
|
||||
|
||||
Reference in New Issue
Block a user