Skip to content

Commit

Permalink
Add changes to README and Changelog (#69)
Browse files Browse the repository at this point in the history
* Add new fixture

* Update Changelog

* tupo
  • Loading branch information
MatthewFlamm authored May 28, 2021
1 parent 239f031 commit 24702e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ This changelog only includes changes directly related to the structure of this p

Changes to minor version indicate a change structurally in this pacakge. Changes in patch indicate changes solely from homeassistant/core. The latter does not imply no breaking changes are introduced.

## 0.4.0
* `enable_custom_integrations` now required by ha
* sqlalchemy version now pinned to ha version

## 0.3.0
* Generate package only on homeassistant release versions
* Use latest homeassistant release version including beta
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The goal is to provide the same functionality as the tests in home-assistant/cor
* home-assistant/core native test: `from tests.common import MockConfigEntry`
* custom component test: `from pytest_homeassistant_custom_component.common import MockConfigEntry`
* If your integration is inside a `custom_components` folder, a `custom_components/__init__.py` file or changes to `sys.path` may be required.
* `enable_custom_integrations_fixture` is required (versions >=2021.6.0b0)
* If using `load_fixture`, the files need to be in a `fixtures` folder colocated with the tests. For example, a test in `test_sensor.py` can load data from `some_data.json` using `load_fixture` from this structure:

```
Expand Down

0 comments on commit 24702e9

Please sign in to comment.