Skip to content

Commit

Permalink
[create-pull-request] automated change (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: MatthewFlamm <MatthewFlamm@users.noreply.github.com>
  • Loading branch information
MatthewFlamm and MatthewFlamm authored Nov 1, 2020
1 parent e4f6910 commit b4f5504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pytest_homeassistant_custom_component/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def async_create_task(coroutine):
hass.config.units = METRIC_SYSTEM
hass.config.media_dirs = {"local": get_test_config_dir("media")}
hass.config.skip_pip = True
hass.config.legacy_templates = False

hass.config_entries = config_entries.ConfigEntries(hass, {})
hass.config_entries._entries = []
Expand Down
2 changes: 1 addition & 1 deletion pytest_homeassistant_custom_component/test_util/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
def mock_stream(data):
"""Mock a stream with data."""
protocol = mock.Mock(_reading_paused=False)
stream = StreamReader(protocol)
stream = StreamReader(protocol, limit=2 ** 16)
stream.feed_data(data)
stream.feed_eof()
return stream
Expand Down

0 comments on commit b4f5504

Please sign in to comment.