pytest-homeassistant-custom-component 0.13.263__py3-none-any.whl → 0.13.265__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pytest_homeassistant_custom_component/common.py +8 -6
- pytest_homeassistant_custom_component/const.py +2 -2
- pytest_homeassistant_custom_component/plugins.py +1 -1
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/METADATA +10 -10
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/RECORD +10 -10
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/WHEEL +0 -0
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/entry_points.txt +0 -0
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/licenses/LICENSE +0 -0
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/licenses/LICENSE_HA_CORE.md +0 -0
- {pytest_homeassistant_custom_component-0.13.263.dist-info → pytest_homeassistant_custom_component-0.13.265.dist-info}/top_level.txt +0 -0
|
@@ -80,6 +80,7 @@ from homeassistant.core import (
|
|
|
80
80
|
from homeassistant.helpers import (
|
|
81
81
|
area_registry as ar,
|
|
82
82
|
category_registry as cr,
|
|
83
|
+
condition,
|
|
83
84
|
device_registry as dr,
|
|
84
85
|
entity,
|
|
85
86
|
entity_platform,
|
|
@@ -301,6 +302,7 @@ async def async_test_home_assistant(
|
|
|
301
302
|
# Load the registries
|
|
302
303
|
entity.async_setup(hass)
|
|
303
304
|
loader.async_setup(hass)
|
|
305
|
+
await condition.async_setup(hass)
|
|
304
306
|
await trigger.async_setup(hass)
|
|
305
307
|
|
|
306
308
|
# setup translation cache instead of calling translation.async_setup(hass)
|
|
@@ -1832,9 +1834,9 @@ def import_and_test_deprecated_constant(
|
|
|
1832
1834
|
module.__name__,
|
|
1833
1835
|
logging.WARNING,
|
|
1834
1836
|
(
|
|
1835
|
-
f"{constant_name} was used from
|
|
1836
|
-
|
|
1837
|
-
f"Use {replacement_name} instead, please report "
|
|
1837
|
+
f"The deprecated constant {constant_name} was used from "
|
|
1838
|
+
"test_constant_deprecation. It will be removed in HA Core "
|
|
1839
|
+
f"{breaks_in_ha_version}. Use {replacement_name} instead, please report "
|
|
1838
1840
|
"it to the author of the 'test_constant_deprecation' custom integration"
|
|
1839
1841
|
),
|
|
1840
1842
|
) in caplog.record_tuples
|
|
@@ -1866,9 +1868,9 @@ def import_and_test_deprecated_alias(
|
|
|
1866
1868
|
module.__name__,
|
|
1867
1869
|
logging.WARNING,
|
|
1868
1870
|
(
|
|
1869
|
-
f"{alias_name} was used from
|
|
1870
|
-
|
|
1871
|
-
f"Use {replacement_name} instead, please report "
|
|
1871
|
+
f"The deprecated alias {alias_name} was used from "
|
|
1872
|
+
"test_constant_deprecation. It will be removed in HA Core "
|
|
1873
|
+
f"{breaks_in_ha_version}. Use {replacement_name} instead, please report "
|
|
1872
1874
|
"it to the author of the 'test_constant_deprecation' custom integration"
|
|
1873
1875
|
),
|
|
1874
1876
|
) in caplog.record_tuples
|
|
@@ -5,7 +5,7 @@ This file is originally from homeassistant/core and modified by pytest-homeassis
|
|
|
5
5
|
"""
|
|
6
6
|
from typing import TYPE_CHECKING, Final
|
|
7
7
|
MAJOR_VERSION: Final = 2025
|
|
8
|
-
MINOR_VERSION: Final =
|
|
9
|
-
PATCH_VERSION: Final = "
|
|
8
|
+
MINOR_VERSION: Final = 8
|
|
9
|
+
PATCH_VERSION: Final = "0b0"
|
|
10
10
|
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
|
11
11
|
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
|
|
@@ -1728,7 +1728,7 @@ async def async_test_recorder(
|
|
|
1728
1728
|
wait_recorder: bool = True,
|
|
1729
1729
|
wait_recorder_setup: bool = True,
|
|
1730
1730
|
) -> AsyncGenerator[recorder.Recorder]:
|
|
1731
|
-
"""Setup and return recorder instance."""
|
|
1731
|
+
"""Setup and return recorder instance."""
|
|
1732
1732
|
await _async_init_recorder_component(
|
|
1733
1733
|
hass,
|
|
1734
1734
|
config,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-homeassistant-custom-component
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.265
|
|
4
4
|
Summary: Experimental package to automatically extract test plugins for Home Assistant custom components
|
|
5
5
|
Home-page: https://github.com/MatthewFlamm/pytest-homeassistant-custom-component
|
|
6
6
|
Author: Matthew Flamm
|
|
@@ -18,17 +18,17 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
License-File: LICENSE_HA_CORE.md
|
|
20
20
|
Requires-Dist: sqlalchemy
|
|
21
|
-
Requires-Dist: coverage==7.
|
|
21
|
+
Requires-Dist: coverage==7.10.0
|
|
22
22
|
Requires-Dist: freezegun==1.5.2
|
|
23
23
|
Requires-Dist: go2rtc-client==0.2.1
|
|
24
|
-
Requires-Dist: license-expression==30.4.
|
|
24
|
+
Requires-Dist: license-expression==30.4.3
|
|
25
25
|
Requires-Dist: mock-open==1.4.0
|
|
26
26
|
Requires-Dist: pydantic==2.11.7
|
|
27
27
|
Requires-Dist: pylint-per-file-ignores==1.4.0
|
|
28
28
|
Requires-Dist: pipdeptree==2.26.1
|
|
29
|
-
Requires-Dist: pytest-asyncio==1.
|
|
29
|
+
Requires-Dist: pytest-asyncio==1.1.0
|
|
30
30
|
Requires-Dist: pytest-aiohttp==1.1.0
|
|
31
|
-
Requires-Dist: pytest-cov==6.
|
|
31
|
+
Requires-Dist: pytest-cov==6.2.1
|
|
32
32
|
Requires-Dist: pytest-freezer==0.4.9
|
|
33
33
|
Requires-Dist: pytest-github-actions-annotate-failures==0.3.0
|
|
34
34
|
Requires-Dist: pytest-socket==0.7.0
|
|
@@ -36,16 +36,16 @@ Requires-Dist: pytest-sugar==1.0.0
|
|
|
36
36
|
Requires-Dist: pytest-timeout==2.4.0
|
|
37
37
|
Requires-Dist: pytest-unordered==0.7.0
|
|
38
38
|
Requires-Dist: pytest-picked==0.5.1
|
|
39
|
-
Requires-Dist: pytest-xdist==3.
|
|
40
|
-
Requires-Dist: pytest==8.4.
|
|
39
|
+
Requires-Dist: pytest-xdist==3.8.0
|
|
40
|
+
Requires-Dist: pytest==8.4.1
|
|
41
41
|
Requires-Dist: requests-mock==1.12.1
|
|
42
42
|
Requires-Dist: respx==0.22.0
|
|
43
43
|
Requires-Dist: syrupy==4.9.1
|
|
44
44
|
Requires-Dist: tqdm==4.67.1
|
|
45
|
-
Requires-Dist: homeassistant==2025.
|
|
45
|
+
Requires-Dist: homeassistant==2025.8.0b0
|
|
46
46
|
Requires-Dist: SQLAlchemy==2.0.41
|
|
47
47
|
Requires-Dist: paho-mqtt==2.1.0
|
|
48
|
-
Requires-Dist: numpy==2.3.
|
|
48
|
+
Requires-Dist: numpy==2.3.2
|
|
49
49
|
Dynamic: author
|
|
50
50
|
Dynamic: author-email
|
|
51
51
|
Dynamic: classifier
|
|
@@ -60,7 +60,7 @@ Dynamic: summary
|
|
|
60
60
|
|
|
61
61
|
# pytest-homeassistant-custom-component
|
|
62
62
|
|
|
63
|
-

|
|
64
64
|
|
|
65
65
|
[](https://gitpod.io/#https://github.com/MatthewFlamm/pytest-homeassistant-custom-component)
|
|
66
66
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
pytest_homeassistant_custom_component/__init__.py,sha256=pUI8j-H-57ncCLnvZSDWZPCtJpvi3ACZqPtH5SbedZA,138
|
|
2
2
|
pytest_homeassistant_custom_component/asyncio_legacy.py,sha256=UdkV2mKqeS21QX9LSdBYsBRbm2h4JCVVZeesaOLKOAE,3886
|
|
3
|
-
pytest_homeassistant_custom_component/common.py,sha256=
|
|
4
|
-
pytest_homeassistant_custom_component/const.py,sha256=
|
|
3
|
+
pytest_homeassistant_custom_component/common.py,sha256=KU5RmDkw_OOk20AYP9WJPoLFoFEbYX0JVdsY8DN6nKk,65399
|
|
4
|
+
pytest_homeassistant_custom_component/const.py,sha256=TQOMjRVWS22ehM9mKMkWBL4C2UoUzbHBTuMKWLnzRiY,401
|
|
5
5
|
pytest_homeassistant_custom_component/ignore_uncaught_exceptions.py,sha256=rilak_dQGMNhDqST1ZzhjZl_qmytFjkcez0vYmLMQ4Q,1601
|
|
6
6
|
pytest_homeassistant_custom_component/patch_json.py,sha256=hNUeb1yxAr7ONfvX-o_WkI6zhQDCdKl7GglPjkVUiHo,1063
|
|
7
7
|
pytest_homeassistant_custom_component/patch_recorder.py,sha256=lW8N_3ZIKQ5lsVjRc-ROo7d0egUZcpjquWKqe7iEF94,819
|
|
8
8
|
pytest_homeassistant_custom_component/patch_time.py,sha256=G6RcRJNvl8q6qcbvknA21dsZdoF5gfQDh46PptWAwWA,2509
|
|
9
|
-
pytest_homeassistant_custom_component/plugins.py,sha256=
|
|
9
|
+
pytest_homeassistant_custom_component/plugins.py,sha256=YNSYDRonL-Gevj2wV7HP6ZB9vQqrNztMrtUru3BA7FE,67754
|
|
10
10
|
pytest_homeassistant_custom_component/syrupy.py,sha256=_FIP_SZHmISPyfFlrU4InkbMe3OhIEoF26ZiPYWXVO4,15468
|
|
11
11
|
pytest_homeassistant_custom_component/typing.py,sha256=zGhdf6U6aRq5cPwIfRUdtZeApLOyPD2EArjznKoIRZM,1734
|
|
12
12
|
pytest_homeassistant_custom_component/components/__init__.py,sha256=0BHCdArl5gPjDJWaZrqvApHvzL_29FbE1RMg_mg__Qs,138
|
|
@@ -19,10 +19,10 @@ pytest_homeassistant_custom_component/test_util/aiohttp.py,sha256=oPQaFRgXcAfHj9
|
|
|
19
19
|
pytest_homeassistant_custom_component/testing_config/__init__.py,sha256=SRp6h9HJi2I_vA6cPNkMiR0BTYib5XVmL03H-l3BPL0,158
|
|
20
20
|
pytest_homeassistant_custom_component/testing_config/custom_components/__init__.py,sha256=-l6KCBLhwEDkCztlY6S-j53CjmKY6-A_3eX5JVS02NY,173
|
|
21
21
|
pytest_homeassistant_custom_component/testing_config/custom_components/test_constant_deprecation/__init__.py,sha256=2vF_C-VP9tDjZMX7h6iJRAugtH2Bf3b4fE3i9j4vGeY,383
|
|
22
|
-
pytest_homeassistant_custom_component-0.13.
|
|
23
|
-
pytest_homeassistant_custom_component-0.13.
|
|
24
|
-
pytest_homeassistant_custom_component-0.13.
|
|
25
|
-
pytest_homeassistant_custom_component-0.13.
|
|
26
|
-
pytest_homeassistant_custom_component-0.13.
|
|
27
|
-
pytest_homeassistant_custom_component-0.13.
|
|
28
|
-
pytest_homeassistant_custom_component-0.13.
|
|
22
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/licenses/LICENSE,sha256=7h-vqUxyeQNXiQgRJ8350CSHOy55M07DZuv4KG70AS8,1070
|
|
23
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/licenses/LICENSE_HA_CORE.md,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
24
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/METADATA,sha256=k8NizpjSEk4pNXNRZM7yOg9jaho7EqkuL3vTuhMEna4,5932
|
|
25
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
26
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/entry_points.txt,sha256=bOCTSuP8RSPg0QfwdfurUShvMGWg4MI2F8rxbWx-VtQ,73
|
|
27
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/top_level.txt,sha256=PR2cize2la22eOO7dQChJWK8dkJnuMmDC-fhafmdOWw,38
|
|
28
|
+
pytest_homeassistant_custom_component-0.13.265.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|