-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Enforce async_load_fixture in async test functions #145709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Hey there @ispysoftware, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @bieniu, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @airgradienthq, @joostlek, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
acbc473
to
a2ab53f
Compare
Proposed change
SSIA, as follow-up to #144534
If a function is async, and
load_fixture
, then the call should be migrated toasync_load_fixture
load_json_array_fixture
, then the call should be migrated toasync_load_json_array_fixture
load_json_object_fixture
, then the call should be migrated toasync_load_json_object_fixture
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: