Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
golles authored Oct 9, 2024
2 parents 6a77030 + 46be4bf commit b6fafb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r requirements.txt
pip>=21.0,<24.2
pip>=24.0
isort
colorlog
pytest-homeassistant-custom-component
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ While tests aren't required to publish a custom component for Home Assistant, th
# Getting Started

You can then install the dependencies that will allow you to run tests:
`python3 -m pip install --requirement requirements_test.txt`.
`python3 -m pip install --requirement requirements_dev.txt`.

This will install `homeassistant`, `pytest`, and `pytest-homeassistant-custom-component`, a plugin which allows you to leverage helpers that are available in Home Assistant for core integration tests.

Expand Down
2 changes: 1 addition & 1 deletion tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def test_async_migrate_entry_v1_to_v2(
"""Test entry migration, v1 to v2."""
config_entry = await setup_component(hass)

config_entry.version = 1
hass.config_entries.async_update_entry(config_entry, version=1)
assert config_entry.version == 1

mock_entity_id = "weather.knmi_home"
Expand Down

0 comments on commit b6fafb2

Please sign in to comment.