mirror of
https://github.com/home-assistant/core.git
synced 2026-10-05 16:37:35 +01:00
Rename variable in async tests (#122996)
This commit is contained in:
1 parent
2fd3c42e63
commit
d16a2fac80
1 file changed
+3
-1
@@ -14,7 +14,9 @@ from tests.common import extract_stack_to_frame
|
||||
|
||||
@patch("concurrent.futures.Future")
|
||||
@patch("threading.get_ident")
|
||||
def test_run_callback_threadsafe_from_inside_event_loop(mock_ident, _) -> None:
|
||||
def test_run_callback_threadsafe_from_inside_event_loop(
|
||||
mock_ident: MagicMock, mock_future: MagicMock
|
||||
) -> None:
|
||||
"""Testing calling run_callback_threadsafe from inside an event loop."""
|
||||
callback = MagicMock()
|
||||
|
||||
|
||||
Reference in new issue
Block a user